Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/focustree/contracts
Focus Tree Starknet Contracts (Cairo 1)
https://github.com/focustree/contracts
cairo flutter focus starknet
Last synced: about 1 month ago
JSON representation
Focus Tree Starknet Contracts (Cairo 1)
- Host: GitHub
- URL: https://github.com/focustree/contracts
- Owner: focustree
- Created: 2023-08-29T09:15:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-15T15:00:04.000Z (12 months ago)
- Last Synced: 2024-08-05T01:11:11.920Z (4 months ago)
- Topics: cairo, flutter, focus, starknet
- Language: Cairo
- Homepage: https://focustree.app
- Size: 59.6 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starknet - Focus Tree - Focus Tree Contracts. (Open-source projects)
README
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
```2. Build project
```
scarb build
```3. Declare `GardenTile` contract
```
starkli declare target/dev/focustree_GardenTile.sierra.json --account ~/.starkli/braavos_test_account.json --private-key $BRAAVOS_TEST_PRIVATE_KEY
```4. Testnet contract class: https://testnet.starkscan.co/class/0x057d8eebbdfa419bce85d116b8f459855c899ff14d616415e10880ac66bd9f79
5. Deploy `GardenTile` contract
```
starkli deploy 0x057d8eebbdfa419bce85d116b8f459855c899ff14d616415e10880ac66bd9f79 --account ~/.starkli/braavos_test_account.json --private-key $BRAAVOS_TEST_PRIVATE_KEY
```