-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update to rpc * feat: change gateway to rpc * Env var changed * sepolia deployments/declarations * Katana instance run on CI * update ci: install katana * fix: katana installation * fix: katana bug * actions checkout * debug dojo * alternative installation * poetry install * fmt * clean code * specify python version * env variables * unnecessary code * secret permissions * indent * revert * dojo config * scarb * fix: typo * fix: review comments * fix: use public rpc * fix: readme * Update README.md --------- Co-authored-by: 0xevolve <[email protected]>
- Loading branch information
Showing
20 changed files
with
426 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Run scripts | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
run_scripts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
||
- name: Install rust | ||
run: | | ||
curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
- name: Install dojoup | ||
run: | | ||
curl -L https://install.dojoengine.org | bash | ||
- name: Install dojo | ||
run: |- | ||
/home/runner/.config/.dojo/bin/dojoup | ||
sudo mv /home/runner/.config/.dojo/bin/katana /usr/local/bin/ | ||
- name: Make script executable | ||
run: chmod +x scripts/katana.sh | ||
|
||
# Set up Python and install Poetry | ||
- name: Set up Python and install Poetry | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
- run: pip3 install poetry | ||
|
||
# Install Python dependencies with Poetry | ||
- name: Install dependencies | ||
run: poetry install | ||
|
||
# Set up Scarb | ||
- uses: software-mansion/setup-scarb@v1 | ||
- run: scarb build | ||
|
||
# Run Katana and scripts | ||
- name: Run Katana and scripts | ||
env: | ||
KATANA_ACCOUNT_ADDRESS: ${{ secrets.KATANA_ACCOUNT_ADDRESS }} | ||
KATANA_PRIVATE_KEY: ${{ secrets.KATANA_PRIVATE_KEY }} | ||
run: bash scripts/katana.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"pragma_Oracle": "0x40a2430b48587833abc2e912335cffd863c010e2c798d005d9bcace56a156fc", | ||
"pragma_Ownable": "0x7b50a7a9bbb75d08248135003f1c87f0d44ba23018dc0ca480ac37a901531f3", | ||
"pragma_PublisherRegistry": "0x306288971002bd7906e3a607d504dfb28dcbdc7655a115984e567dce3b67e8f", | ||
"pragma_SummaryStats": "0x3b5bf1c2f918de14620b3c63e2c6543cf0a138df258bce3d03e3fb0b7d2183a", | ||
"pragma_Randomness": "0x1a4de6fd18f5358f9c815ca98b08c707c77e6583f10e5ebf83daa6541217e2a", | ||
"pragma_ExampleRandomness": "0x521a9f8d2db3faf168854902adb6bda2648d1de695c3cfa88946080ec567cbb", | ||
"pragma_YieldCurve": "0x55a7af6d2df5730c784ec31ca9f71e66f19e8cb78359d23f51aececcc1c04eb" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"pragma_PublisherRegistry": { | ||
"address": "0x732b618bc92e3919e28dd3b3aff21079b2507c1f51b8a194ce90300e995cb", | ||
"tx": "0x696821818ebcaf3052d9af16b2e3250dfea98fb4ab8d9caccd1f7e8ffced82f" | ||
}, | ||
"pragma_Oracle": { | ||
"address": "0x5acaa0ef3a6837c98ddeae516fa3f6022018cf646914d921842e46fc00c35d3", | ||
"tx": "0x6700eac1d61330b9831384e358985681ccaf90eea540f299f9fc58550372e17" | ||
}, | ||
"pragma_SummaryStats": { | ||
"address": "0x185b147a3e03043e0232ec6fcf17143614481cc29a505c7d9c4b29e98c1f14e", | ||
"tx": "0x5586671f1d7d1e7744ca88b19927ab12ef9ac233d70f2f9bbed650c32bcd38f" | ||
}, | ||
"pragma_Randomness": { | ||
"address": "0x556bd6988d786777bb5b1ee337c63f60f30d8200818b59b29e54afc27266a46", | ||
"tx": "0x201c3bfe0ea8d3476f97d7430d947e804e58c9184ee80ffab2a2d0582a7aaf2" | ||
}, | ||
"pragma_ExampleRandomness": { | ||
"address": "0x6b95c03d088974e17cc87a3b9b2650d7b0c7098e2ec968f6d852249e808f5dc", | ||
"tx": "0x226ec4801c9b3e7428ffcbec16c75bb3cf7c90ed2c9e189ac8d310e41157665" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.