-
Notifications
You must be signed in to change notification settings - Fork 54
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
Conversation
@EjembiEmmanuel is attempting to deploy a commit to the Horus Labs Team on Vercel. A member of the Team first needs to authorize it. |
bin/cli.mjs
Outdated
await exec( | ||
"npm run install --legacy-peer-deps && npm run initialize-dojo" | ||
); | ||
} else if (packageType !== "kakarot") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the negation. you meant:
else if (packageType == "kakarot")
package.json
Outdated
@@ -22,7 +22,12 @@ | |||
"devnet": "sh ./devnet/start.sh", | |||
"start": "cd frontend && npm run dev", | |||
"install": "cd scripts && bash install_tools.sh && cd ../frontend && npm install --legacy-peer-deps", | |||
"build-ui": "cd frontend && npm run build" | |||
"build-ui": "cd frontend && npm run build", | |||
"initialize-kakarot": "rm -rf contracts && mkdir contracts && cd contracts && git clone https://github.com/kkrt-labs/build-on-kakarot.git && cp -r build-on-kakarot/* ./ && rm -rf .github && rm -rf .trunk && rm -rf build-on-kakarot", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include a command to initialize git too within the initialize-kakarot
. ie && git init
.
Not doing this, makes the next command setup-kakarot
fail with error: not a git repository
package.json
Outdated
"build-ui": "cd frontend && npm run build", | ||
"initialize-kakarot": "rm -rf contracts && mkdir contracts && cd contracts && git clone https://github.com/kkrt-labs/build-on-kakarot.git && cp -r build-on-kakarot/* ./ && rm -rf .github && rm -rf .trunk && rm -rf build-on-kakarot", | ||
"setup-kakarot": "cd contracts && make setup", | ||
"start-kakarot": "cd contracts && make start", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
script fails with:
make -C lib/kakarot-rpc local-rpc-up
make[1]: *** No rule to make target `local-rpc-up'. Stop.
make: *** [start] Error 2
please look into it.
package.json
Outdated
"initialize-kakarot": "rm -rf contracts && mkdir contracts && cd contracts && git clone https://github.com/kkrt-labs/build-on-kakarot.git && cp -r build-on-kakarot/* ./ && rm -rf .github && rm -rf .trunk && rm -rf build-on-kakarot", | ||
"setup-kakarot": "cd contracts && make setup", | ||
"start-kakarot": "cd contracts && make start", | ||
"deploy-kakarot-l1-messaging-contracts": "cd contracts && make deploy-l1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this script fails too and the one after it.
This reverts commit dd30f6d.
Description
This PR adds support for Kakarot zkEVM on Starknet-Scaffold
Additional Information