Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

loomnetwork/weave-blueprint

Repository files navigation

weave-blueprint

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

About

Example Go Smart Contract project for Loom Blockchain

Topics

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors