@cosmjs/faucet

v0.26.0-alpha2
The faucet

lint

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

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

node --require esm 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]

Metadata

Downloads