Skip to content

focustree/contracts

Repository files navigation

This a work in progress. Don't use in production.

Dev Setup

  1. Fetch test account on goerli
starkli account fetch --network  goerli-1 0x05161ae78b651b239167b3ed0c1b2f09983cbd9ff433c14fb31472ce8008ac1d --output ~/.starkli/braavos_test_account.json
  1. Build project
scarb build
  1. Declare GardenTile contract
starkli declare target/dev/focustree_GardenTile.sierra.json --account ~/.starkli/braavos_test_account.json --private-key $BRAAVOS_TEST_PRIVATE_KEY
  1. Testnet contract class: https://testnet.starkscan.co/class/0x057d8eebbdfa419bce85d116b8f459855c899ff14d616415e10880ac66bd9f79

  2. Deploy GardenTile contract

starkli deploy 0x057d8eebbdfa419bce85d116b8f459855c899ff14d616415e10880ac66bd9f79 --account ~/.starkli/braavos_test_account.json --private-key $BRAAVOS_TEST_PRIVATE_KEY