0.6.2 • Published 1 year ago
@drewpackages/cli v0.6.2
Drew CLI
Example
Installation
npm i -g @drewpackages/cliRun example
Deployment dry run (remove --dryRun for actual deployment and docker containers setup)
# EVM
drew deploy DrewPackages/evm-faucet --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun
# ton
drew deploy-ton DrewPackages/tonfaucet --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRunDrew will download formula from git, validate it and print its steps
Used apis:
wallet/v1/sign
hardhat/v1/scriptDump in halfway
# ton
drew deploy-ton DrewPackages/tonfaucet --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dumpAfter 1Resume from dump
# ton
drew deploy-ton -fContributing
nvm use
pnpm i
# EVM
pnpm cli deploy DrewPackages/evm-faucet --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun
# Ton
pnpm cli deploy-ton DrewPackages/tonfaucet --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun