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

Automatic contract and client deployment via CI #42

Merged
merged 15 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
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
Next Next commit
add vars in deployment for vite
  • Loading branch information
willemolding committed Jan 9, 2024
commit e437b075956e37481a2282c2ce5976634cb3cab8
2 changes: 2 additions & 0 deletions .github/workflows/build-deploy-demo.yaml
Original file line number Diff line number Diff line change
@@ -53,6 +53,8 @@ jobs:
VITE_PUBLIC_WORLD_ADDRESS: ${{ needs.build-and-deploy-contracts.outputs.WORLD_ADDRESS }}
VITE_PUBLIC_NODE_URL: ${{ vars.STARKNET_RPC_URL }}
VITE_PUBLIC_TORII: ${{ vars.TORII_URL }}
VITE_PUBLIC_MASTER_ADDRESS: ${{ vars.DEPLOYER_ADDRESS }}
VITE_PUBLIC_MASTER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v4
- name: Use bun
8 changes: 0 additions & 8 deletions client/.env
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
VITE_PUBLIC_ETH_CONTRACT_ADDRESS=0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
VITE_PUBLIC_ACCOUNT_CLASS_HASH=0x04d07e40e93398ed3c76981e72dd1fd22557a78ce36c0515f679e27f0bb5bc5f

VITE_PUBLIC_WORLD_ADDRESS=0x730cbe05cf01c05145b5bcd1c729bcb43de61ab6cdc62ee7be536d669a1ee7c

VITE_PUBLIC_MASTER_ADDRESS=0x10ae7eb8823ede87cc85425f892b31c77f68fe4b15891af229c3d4afc2d15aa
VITE_PUBLIC_MASTER_PRIVATE_KEY=0x6cecdcf51cdcdce3055250cd5147a1e6cf7f3a53da53e84febb4981a590c94b

VITE_PUBLIC_NODE_URL="https://api.cartridge.gg/x/arcane/katana"
VITE_PUBLIC_TORII="https://api.cartridge.gg/x/arcane/torii/graphql"