Difference between revisions of "Blockstack"

From Organic Design wiki
m
m (Added a section for using blockstack)
Line 7: Line 7:
 
*[https://helloblockstack.com/ HelloBlockstack.com auth example]
 
*[https://helloblockstack.com/ HelloBlockstack.com auth example]
 
[[Category:Cryptocurrency]]
 
[[Category:Cryptocurrency]]
 +
 +
= Using Blockstack =
 +
== Install ==
 +
To install yo and the Blockstack generator globally run:
 +
 +
<source lang="bash">
 +
sudo npm i -g yo generator-blockstack
 +
</source>
 +
 +
To generate the app structure and install dependencies run (in the project directory):
 +
 +
<source lang="bash">
 +
yo blockstack
 +
npm i
 +
</source>
 +
 +
Then you can start the app like so:
 +
 +
<source lang="bash">
 +
npm run start
 +
</source>
 +
 +
It will open a window in your browser at http://localhost:5000/

Revision as of 21:20, 2 April 2018

Cone.png This article or section is a stub. Stubs are articles that have not yet received substantial attention from the authors. They are short or insufficient pieces of information and require additions to further increase the article's usefulness. The project values stubs as useful first steps toward complete articles.

Blockstack is

Authentication

Blockstack can work as an authentication provider for other Blockstack apps or for traditional websites. You can use the local app or the web version to perform the log-in service.

Using Blockstack

Install

To install yo and the Blockstack generator globally run:

sudo npm i -g yo generator-blockstack

To generate the app structure and install dependencies run (in the project directory):

yo blockstack
npm i

Then you can start the app like so:

npm run start

It will open a window in your browser at http://localhost:5000/