用于构建插件的 Go 包以及用于 Loom DApp 链的 Go 智能合约
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 repository.
go get github.com/loomnetwork/go-loomThe example smart contracts can be built with:
make deps
makeIf you want the ethereum examples, use
make evminstead of make. However you need the
go-ethereum package.
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 rungo get or clone the repo into your desired GOPATH.make depsmake protomake test暂无开放 Issues,或尚未同步最近议题。