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
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 | 0x062230ea046a9a5fbc261ac77d03c8d41e5d442db2284587570ab46455fd2488 |