Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

Awesome Lists containing this project

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
```