The bootstrap and orchestrate tools for Blockchain, it is the Best practice of Ruff IoT Blockchain Ruff IoT Blockchain white paper
git clone https://github.com/ruffchain/Shepherd.git
cd Shepherd
npm install
npm run build
./programs/node/create.sh
./programs/node/miner.sh
./programs/wallet/wallet.sh
build DApp
programs/contract/splitTransfer
npm install
npm run build
load DApp from wallet
The DApp will run in isolate and security context i.e. RuffVM
./programs/wallet/wallet.sh
// load contract code
chain.setCode(10, 'programs/contract/splitTransfer/dist/index.js')
// trigger contract method
chain.runMethod('1EYLLvMtXGeiBJ7AZ6KJRP2BdAQ2Bof79', 10, 10, 'doTransfer', '10')