@cosmjs/faucet
v0.31.0-alpha.1lint
eslint --max-warnings 0 "./**/*.ts" "./*.js"
test
yarn build-or-skip && yarn test-node
build
rm -rf ./build && tsc
format
prettier --write --loglevel warn "./src/**/*.ts"
coverage
nyc --reporter=text --reporter=lcov yarn test --quiet
lint-fix
eslint --fix --max-warnings 0 "./**/*.ts" "./*.js"
dev-start
yarn start-dev
pack-node
yarn build-or-skip && webpack --mode production --config webpack.node.config.js
start-dev
FAUCET_ADDRESS_PREFIX=wasm FAUCET_CREDIT_AMOUNT_UCOSM=10000000 FAUCET_CREDIT_AMOUNT_USTAKE=100000 FAUCET_CONCURRENCY=3 FAUCET_MNEMONIC="economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone" ./bin/cosmos-faucet start "http://localhost:26659"
test-node
yarn node jasmine-testrunner.js
format-text
prettier --write "./*.md"
build-or-skip
[ -n "$SKIP_BUILD" ] || yarn build
start-coralnet
FAUCET_ADDRESS_PREFIX=coral FAUCET_TOKENS="ushell,ureef" FAUCET_CREDIT_AMOUNT_USHELL=10000000 FAUCET_CREDIT_AMOUNT_UREEF=2000000 FAUCET_CONCURRENCY=3 FAUCET_MNEMONIC="economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone" ./bin/cosmos-faucet start "https://lcd.coralnet.cosmwasm.com"
npm i @cosmjs/[email protected]
Source Code
github.com/cosmos/cosmjs/tre...Metadata
- Apache-2.0
- Whatever
- Unknown
- released 5/25/2023