@polyjuice-provider/truffle
v0.1.5
Published
this is a sub-module of @polyjuice-provider.
Downloads
6
Readme
@polyjuice-provider/truffle
this is a sub-module of @polyjuice-provider.
Install
yarn add @polyjuice-provider/truffle
or
npm install --save @polyjuice-provider/truffle
Usage
read docs here
How to develop this module
build:
yarn build
before you can run test, you should run godwoken-kicker and create an .test.env file with some godwoken-polyjuice config.
cat > ./.test.env <<EOF
WEB3_JSON_RPC=<godwoken web3 rpc>
ROLLUP_TYPE_HASH=<godwoken rollup type hash>
ETH_ACCOUNT_LOCK_CODE_HASH=<eth account lock code hash>
PRIVATE_KEY=<your eth test private key, do not use in production>
ETH_ADDRESS=<your eth test address, match with private_key above>
EOF
test
yarn test