Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Kakarot support #152

Merged
merged 58 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
bbcf30d
feat: add initialize-kakarot script
EjembiEmmanuel Sep 24, 2024
1cdce49
feat: add setup-kakarot script
EjembiEmmanuel Sep 24, 2024
04d2898
feat: add start-kakarot script
EjembiEmmanuel Sep 24, 2024
3533c90
feat: add deploy-kakarot-l1-messaging-contracts script
EjembiEmmanuel Sep 24, 2024
a8d2fdb
feat: add deploy-kakarot-evm-contract script
EjembiEmmanuel Sep 24, 2024
5f1c432
refac: modify kakarot scripts
EjembiEmmanuel Sep 24, 2024
c81a807
feat: add kakarot support to `bin/cli.mjs`
EjembiEmmanuel Sep 26, 2024
2dbdcd5
feat: add `Foundry` installation to script
EjembiEmmanuel Sep 26, 2024
1bb12aa
fix: fix else if statement
EjembiEmmanuel Sep 27, 2024
3d85dce
refac: modify kakarot scripts
EjembiEmmanuel Sep 27, 2024
c15c718
refac: reorder packtage type choices
EjembiEmmanuel Sep 27, 2024
78434de
refac: modify script to install specific version
EjembiEmmanuel Sep 27, 2024
6cc0654
refac: modify scripts to install package version
EjembiEmmanuel Sep 27, 2024
29ac451
feat: add starkli installation to intall script
EjembiEmmanuel Sep 28, 2024
6c8e8bf
feat: add declare-kakarot-cairo-contract script
EjembiEmmanuel Sep 28, 2024
ceb9f6b
fix: fix starkli call omission in install script
EjembiEmmanuel Sep 28, 2024
cf9f0a2
refac: modify declare-kakarot-cairo-contract script
EjembiEmmanuel Sep 28, 2024
4416bc9
refac: modify install script
EjembiEmmanuel Sep 28, 2024
25f5ff1
refac: modify install script
EjembiEmmanuel Sep 29, 2024
0548bc3
refac: modify npm install script
EjembiEmmanuel Sep 29, 2024
1e77ac4
feat: reload shell before running starkliup
EjembiEmmanuel Sep 29, 2024
62602d3
feat: add install_tools script
EjembiEmmanuel Sep 29, 2024
5866470
fix: fix typo
EjembiEmmanuel Sep 29, 2024
3c111a0
refac: modify install script
EjembiEmmanuel Sep 29, 2024
834a033
fix: fix typo
EjembiEmmanuel Sep 29, 2024
83e7279
refac: remove declare kakarot contracts script
EjembiEmmanuel Oct 1, 2024
fc6954b
feat: remove starkli installation
EjembiEmmanuel Oct 1, 2024
0ae499d
refac: modify npm install script
EjembiEmmanuel Oct 1, 2024
9886896
feat: include setup-kakarot script in bin/cli.mjs
EjembiEmmanuel Oct 1, 2024
f0adb00
feat: remove starkli installation
EjembiEmmanuel Oct 1, 2024
3811bf0
fix: fix npm install script
EjembiEmmanuel Oct 1, 2024
f13375a
refac: modify install script
EjembiEmmanuel Oct 1, 2024
66545f4
refac: modify npm install-tools script
EjembiEmmanuel Oct 1, 2024
f3f11c6
fix: fix npm install script
EjembiEmmanuel Oct 1, 2024
c50a44e
feat: modify install script
EjembiEmmanuel Oct 1, 2024
cb5aa17
feat: modify foundry install fn
EjembiEmmanuel Oct 7, 2024
a793172
refac: change github repo
EjembiEmmanuel Oct 7, 2024
0208cbd
refac: change github link
EjembiEmmanuel Oct 7, 2024
d2c6dc5
feat: modify scripts
EjembiEmmanuel Oct 7, 2024
c8c262d
fix: fix initialize-kakarot script
EjembiEmmanuel Oct 7, 2024
b508ebe
fix: fix intialize-kakarot script
EjembiEmmanuel Oct 7, 2024
f672a28
fix: fix initialize-kakarot script
EjembiEmmanuel Oct 7, 2024
a50c9ea
feat: add version support for dojo installation
EjembiEmmanuel Oct 7, 2024
4e7d295
feat: modify install scripts
EjembiEmmanuel Oct 8, 2024
e827426
fix: fix dojoup command not found
EjembiEmmanuel Oct 8, 2024
066cc7b
fix: fix foundryup command not found
EjembiEmmanuel Oct 8, 2024
bd078e9
chore: revert package name and github link
EjembiEmmanuel Oct 8, 2024
5cdd0cc
feat: add version support for starknet-foundry installation
EjembiEmmanuel Oct 8, 2024
13cc5dc
refac: modify foundry install script
EjembiEmmanuel Oct 8, 2024
17c14d6
refac: modify starknet-foundry install script
EjembiEmmanuel Oct 8, 2024
04e9077
refac: modify scripts
EjembiEmmanuel Oct 11, 2024
b22d866
feat: update docs
EjembiEmmanuel Oct 11, 2024
8cc5d0d
feat: update deploy-contract script
EjembiEmmanuel Oct 11, 2024
ff6125b
feat: update kakarot scripts
EjembiEmmanuel Oct 11, 2024
44361bd
feat: add kakarot support to docs
EjembiEmmanuel Oct 11, 2024
dd30f6d
feat: add whitelist-contract script
EjembiEmmanuel Oct 14, 2024
30a9de1
Revert "feat: add whitelist-contract script"
EjembiEmmanuel Oct 14, 2024
4f1c6fa
feat: add whitelist-contract script
EjembiEmmanuel Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: add whitelist-contract script
  • Loading branch information
EjembiEmmanuel committed Oct 14, 2024
commit 4f1c6fab3986885e87657a08c069a7e6e9d25053
6 changes: 6 additions & 0 deletions docs/src/chapter_5.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ To deploy a Cairo contract using keystore, from the base repository run:
npm run keystore-deploy-contract --keystore=<PATH_TO_KEYSTORE_FILE> --account=<PATH_TO_ACCOUNTS_FILE> --url=<RPC_URL> --fee-token=<FEE_TOKEN> --class-hash=<CLASS_HASH>
```

### Whitelist Contract
To whitelist a contract, from the base repository run:
```
npm run whitelist-contract --contract-address=<CONTRACT_ADDRESS>
```

## User Interface Scripts

The following are scripts from `Starknet-Scaffold` for handling the user interface.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"deploy-kakarot-l1-messaging-contracts-local": "cd kakarot && make deploy-l1",
"deploy-kakarot-evm-contract": "cd kakarot && forge create ${npm_config_contract_path} $(test -n \"$npm_config_constructor_args\" && echo --constructor-args $npm_config_constructor_args) --rpc-url ${npm_config_rpc_url} --private-key ${npm_config_private_key}",
"keystore-declare-contract": "cd contracts && sncast --keystore ${npm_config_keystore} --account ${npm_config_account} declare --contract-name ${npm_config_contract_name} --url ${npm_config_url} --fee-token ${npm_config_fee_token}",
"keystore-deploy-contract": "cd contracts && sncast --keystore ${npm_config_keystore} --account ${npm_config_account} deploy --url ${npm_config_url} --fee-token ${npm_config_fee_token} --class-hash ${npm_config_class_hash}"
"keystore-deploy-contract": "cd contracts && sncast --keystore ${npm_config_keystore} --account ${npm_config_account} deploy --url ${npm_config_url} --fee-token ${npm_config_fee_token} --class-hash ${npm_config_class_hash}",
"whitelist-contract": "cd kakarot && make whitelist-contract CONTRACT_ADDRESS=${npm_config_contract_address}"
},
"repository": {
"type": "git",
Expand Down
Loading