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:
- Deterministic address derivation for StarkNet contract given a seed phrase and class hash
- Generate a new seed and deploy a contract to a predefined address
- At default works with the latest trialed-and-tested OZ contract
yarn install
To run integrations test with starknet-devent
, run starknet-devnet --seed 0
in another terminal.
Use starknet-devnet>=0.4.0
yarn test
More testing is required
This repo comes with some basic scripts as examples to interact with the library
ts-node ./scripts/deploy.ts
Copy the resulting seed, public key and address to an .env
file
Name | Symbol | Address | |
---|---|---|---|
Mainnet | Ether | ETH | 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 |
Goerli1 | Ether | ETH | 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 |
Devnet | Ether | ETH | 0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 |