This a work in progress. Don't use in production.
- Fetch test account on goerli
starkli account fetch --network goerli-1 0x05161ae78b651b239167b3ed0c1b2f09983cbd9ff433c14fb31472ce8008ac1d --output ~/.starkli/braavos_test_account.json
- Build project
scarb build
- Declare
GardenTile
contract
starkli declare target/dev/focustree_GardenTile.sierra.json --account ~/.starkli/braavos_test_account.json --private-key $BRAAVOS_TEST_PRIVATE_KEY
-
Testnet contract class: https://testnet.starkscan.co/class/0x057d8eebbdfa419bce85d116b8f459855c899ff14d616415e10880ac66bd9f79
-
Deploy
GardenTile
contract
starkli deploy 0x057d8eebbdfa419bce85d116b8f459855c899ff14d616415e10880ac66bd9f79 --account ~/.starkli/braavos_test_account.json --private-key $BRAAVOS_TEST_PRIVATE_KEY