@opengsn/gsn

v2.1.0
Open Gas Stations Network

test

yarn run lint && yarn generate && yarn tsc && npm run test-js

ganache

ganache-cli --chainId 1337 --hardfork 'istanbul' --gasLimit 100000000 --defaultBalanceEther 1000 --deterministic --keepAliveTimeout 2147483647

test-js

run-with-testrpc --chainId 1337 --hardfork 'istanbul' --port 8544 --gasLimit 10000000 --defaultBalanceEther 1000 --deterministic 'npx truffle --network npmtest test'

test-bail

run-with-testrpc --chainId 1337 --hardfork 'istanbul' --port 8544 --gasLimit 10000000 --defaultBalanceEther 1000 --deterministic 'npx truffle --network npmtest test --bail'

extract_abi

./scripts/extract_abi.js

truffle-test

yarn tsc && npx truffle test

truffle-compile

truffle compile

lint

yarn run lint:js && yarn run lint:sol

lint:fix

yarn run lint:js:fix

lint:js

eslint -f unix .

lint:sol

solhint -f unix "contracts/**/*.sol" --max-warnings 0

lint:js:fix

eslint --ext .js,.ts --cache -f unix --ignore-path .gitignore src test scripts --fix

generate

rm -rf ./build/contracts && npx truffle compile && typechain --target trufflehotfix './build/contracts/**/*.json' && yarn run extract_abi

tsc

tsc --noEmit

postinstall

patch-package

postpack

./scripts/postpack

prepare

./scripts/prepublish
npm i @opengsn/[email protected]

Metadata

  • MIT
  • >=11.0.0
  • Unknown
  • released 12/21/2020

Downloads