README

smart contract deploy

Usage

deploy init smart contract for chain. get contract address after deploy success, config address in params/config.go#CpchainChainConfig

Deploy Smart Contract

deploy init smart contract

export GOPATH=${gopath}
cd ../../
go run ${gopath}/src/bitbucket.org/cpchain/chain/tools/smartcontract/main.go

replace ${gopath} with real env path. ex:/home/${user}/workspace/chain_dev

Expand ▾ Collapse ▴

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis