Skip to content

Commit

Permalink
Add .env.example for starksheet-cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Jul 10, 2023
1 parent eb78eb9 commit afaf0d1
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 8 deletions.
20 changes: 20 additions & 0 deletions packages/starksheet-cairo/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
INFURA_KEY=

TESTNET2_ACCOUNT_ADDRESS=
TESTNET2_PRIVATE_KEY=

DEVNET_ACCOUNT_ADDRESS=0x7e00d496e324876bbc8531f2d9a82bf154d1a04a50218ee74cdd372f75a551a
DEVNET_PRIVATE_KEY=0xe3e70682c2094cac629f6fbed82c07cd

KATANA_ACCOUNT_ADDRESS=0x03ee9e18edc71a6df30ac3aca2e0b02a198fbce19b7480a63a0d71cbd76652e0
KATANA_PRIVATE_KEY=0x0300001800000000300000180000000000030000000000003006001800006600

MADARA_ACCOUNT_ADDRESS=0x3
MADARA_PRIVATE_KEY=0x00c1cf1490de1352865301bb8705143f3ef938f97fdf892f1090dcb5ac7bcd1d

SHARINGAN_ACCOUNT_ADDRESS=
SHARINGAN_PRIVATE_KEY=
SHARINGAN_RPC_URL=

ACCOUNT_ADDRESS=
PRIVATE_KEY=
9 changes: 9 additions & 0 deletions packages/starksheet-cairo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ pytest .

## Deployment

Make sure to have a `.env` file set up at the root of the project:

```bash
cp .env.example .env
```

The `.env.example` is pre populated for devnet like networks (madara, katana,
starknet-devnet). For other networks, make sure to fill it before.

The [deploy folder](./deploy/) contains several deployment scripts but only the
[starksheet one](./deploy/starksheet.py) is really required.

Expand Down
16 changes: 8 additions & 8 deletions packages/starksheet-cairo/deployments/madara/deployments.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"BasicCellRenderer": {
"address": "0x6044a44f38403d7a431c5fdf0aa263b84fc43c4f108f3bca25b74791304d621",
"tx": "0x36f0ff5d2ec0ca09e93c79864262ffc12b44bb65484784051fd086e70e8e058",
"address": "0x7aaaf70d3154b71750665b89fd8dd86e79ea7e9f673f2f33a0e3ea025a2bc90",
"tx": "0x4335f368647ba65b1588bd6d71c6a9cfeb40e9b12119dfef0eb8d12531b8227",
"artifact": "build/BasicCellRenderer.json",
"alias": "basic_cell_renderer"
},
"math": {
"address": "0x139d628181d24816a62f2ef59614ae7cf3e95bf418908dbebb7c4049437f938",
"tx": "0x205930aa018fbe73a7c0db63f23ff1bc00dfc7ea989d6daaf3e48884c883508",
"address": "0x7e28503600cc4533145d53db41fd975a424d198982178c34f1f15870fde281b",
"tx": "0x4e4a10da785f9a0ad6e8ba06a16146563316e550320e13da72512fb83fca38e",
"artifact": "build/math.json",
"alias": "math"
},
"execute": {
"address": "0x69ebcd182d2d93afe0bab7f22d8b508ad20722c4098c38805bc662c8ce5d6cb",
"tx": "0x10b70fdc5526182e88395ba38db70e549fbeb5c903680765e672d288192f59c",
"address": "0x138d4e2d306c0a9ef84dff00f6cc5e4d7b6f2329c9f88690ec6b8057e5e72f3",
"tx": "0x3448424346bc091ece116155d291b64c7a7f1028b76ca62cf65c71c1ddeae4e",
"artifact": "build/execute.json",
"alias": "execute"
},
"Starksheet": {
"address": "0x61839cbd6cdc2628f3293f7fb288e0b3bcb3253059e306fa805e77d88177ef6",
"tx": "0x4c437fc3ac1f318436cc7a2e7f541fc59d7b5bac6560f4bbbfc70f9583ab5e0",
"address": "0x4c60a51592fb92fdc7a70cd07efcd31ccced5d67bba5d153ffce673ed29e389",
"tx": "0x7ee5b01be2972ed6391cb6a3f002ac18aa72725c721c0de9522b36dccd73e2c",
"artifact": "build/Starksheet.json",
"alias": "starksheet"
}
Expand Down

0 comments on commit afaf0d1

Please sign in to comment.