Skip to content

loomnetwork/weave-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weave-blueprint Build Status

Sample Loom Blockchain project GO Language

For more info please checkout the docs page for the Loom SDK

To Build

export GOPATH=$GOPATH:`pwd`

make deps
make

To Run (Requires Loom Dappchain engine binary)

cd build
./loom init
cp ../genesis.example.json genesis.json
./loom run

After running loom, open new terminal tab and and blueprint as follows.

Generate private key

cd build
./blueprint genkey

this will generate private key file named "key" to be further

Create user account

./blueprint call create-acct -u <account-name> -k key

Set value for user

./blueprint call set -u <account-name> -v <any-integer> -k key

Get value for user

./blueprint call get -u <account-name> -k key