Go package for building Go Smart Contracts for the Loom SDK
This package is also used for building Clients to DAppChains in the Loom SDK.
The code that runs the actual DAppChain(sidechain) is in a different repoistory.
- Go 1.9+
- Mac or Linux (Windows support coming in June)
go get github.com/loomnetwork/go-loom
The example smart contracts can be built with:
make deps
make
To run the blockchain with the Samples
Note Loom binary is only available to beta testers right now
# init the blockchain
./loom init
# Copy over example genesis
cp genesis.example.json genesis.json
# run the node
./loom run
go get
or clone the repo into your desiredGOPATH
.- Install deps
make deps
make proto
make test