0.0.1 • Published 4 years ago

@block-base/truffle-server v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

solidity-server

This is truffle plugin to make stub server for your solidity contract.

Usage

install

npm install solidity-server

add plugin to truffle-config.json

  plugins: ['solidity-server']

execute

truffle run solidity-server --rpc http://localhost:7545 --networkId 5777 --host 0.0.0.0 --port 8080 --path build/contracts/Mock.json
  • --rpc: specify rpc server url
  • --networkId: specify networkId
  • --path: specify path contracts/build/contract.json
  • --host: specify stub server host
  • --port: specify stub server port
0.0.1

4 years ago