amanusk / starknet-cli-wallet

Basic example of deploying and using starknet.js for basic wallet operations
MIT License
35 stars 11 forks source link

starknet-cli-wallet

I wouldn't trust any software/blockchain/dapp I cannot run from a command line. This is a basic tool to run basic commands on a StarkNet contract, from a terminal. The tool supports:

Installation

yarn install

Supported features

Testing

To run integrations test with starknet-devent, run starknet-devnet --seed 0 in another terminal. Use starknet-devnet-rs

yarn test

Copy the resulting seed, public key and address to an .env file

.env file

See example .env file for how to configure the wallet

Running

Run help for options

ts-node ./src/index.ts --help