Skip to content

Commit

Permalink
Slot deployment, version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rsodre committed Jan 19, 2024
1 parent b7a41b3 commit 92d48a5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 25 deletions.
4 changes: 2 additions & 2 deletions client/.env.slot
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ NEXT_PUBLIC_WORLD_ADDRESS=0x269c58e5fa1e7f6fe3756f1de88ecdfab7d03ba67e79ba0365b4
NEXT_PUBLIC_NODE_URL=https://api.cartridge.gg/x/pistols/katana
NEXT_PUBLIC_TORII=https://api.cartridge.gg/x/pistols/torii
# from katana
NEXT_PUBLIC_MASTER_ADDRESS=0x35d0cdaf12e6816f4a1a5c074befbddd08abf61bbea87765342289b48b4bc16
NEXT_PUBLIC_MASTER_PRIVATE_KEY=0x2cbd34ec84e50d1616c3d0b17799a5f2fd7448f2039e4652eb950586f06ad60
NEXT_PUBLIC_MASTER_ADDRESS=0x2e0e12a0275b03172bb09aafac8e288599678032493fef65adc1af87771bdaa
NEXT_PUBLIC_MASTER_PRIVATE_KEY=0x3cfcac8524dd04d352479c89b5685b9f3b4e788e226305e1df18712154afd76
6 changes: 3 additions & 3 deletions dojo/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ socials.x = "https://twitter.com/lootunderworld"
[package]
cairo-version = "2.4.0"
name = "pistols"
version = "0.2.0"
version = "0.3.0"

[cairo]
sierra-replace-ids = true
Expand All @@ -34,5 +34,5 @@ world_address = "0x269c58e5fa1e7f6fe3756f1de88ecdfab7d03ba67e79ba0365b4ef1e81155

# SLOT
rpc_url = "https://api.cartridge.gg/x/pistols/katana"
account_address = "0x3de8cead289fe145cfea143ac58ced6c83e518a758469df850e5c37445c95ae"
private_key = "0x2cbd34ec84e50d1616c3d0b17799a5f2fd7448f2039e4652eb950586f06ad60"
account_address = "0x2e0e12a0275b03172bb09aafac8e288599678032493fef65adc1af87771bdaa"
private_key = "0x3cfcac8524dd04d352479c89b5685b9f3b4e788e226305e1df18712154afd76"
19 changes: 13 additions & 6 deletions dojo/migrate
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/bin/bash
set -e

export WORLD_ADDRESS="0x269c58e5fa1e7f6fe3756f1de88ecdfab7d03ba67e79ba0365b4ef1e81155be"
export RPC_URL="http://localhost:5050/"


#sozo --offline build
#-----------------
# migrate
#
sozo migrate

#-----------------
# auth write
#
scripts/default_auth.sh

cp target/dev/manifest.json ../client/src/
#-----------------
# client setup
#
export WORLD_ADDRESS="0x269c58e5fa1e7f6fe3756f1de88ecdfab7d03ba67e79ba0365b4ef1e81155be"
export RPC_URL="http://localhost:5050/"

cp target/dev/manifest.json ../client/src/
cd ../client
npm run create-components $RPC_URL $WORLD_ADDRESS

#-----------------
echo "--- DONE! 👍"
14 changes: 0 additions & 14 deletions dojo/migrate_slot

This file was deleted.

0 comments on commit 92d48a5

Please sign in to comment.