Skip to content

Commit

Permalink
updated parameter for beta testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Dec 13, 2023
1 parent 86d93c3 commit edfa769
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ starknet = ">=2.3.0"

[[target.starknet-contract]]
allowed-libfuncs-list.name = "experimental"
build-external-contracts = ["openzeppelin::token::erc20::erc20::ERC20", "openzeppelin::account::account::Account" ]
build-external-contracts = ["openzeppelin::token::erc20::erc20::ERC20" ]
sierra = true
casm = true

Expand Down
4 changes: 2 additions & 2 deletions scripts/starkli-testnet-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export STARKNET_KEYSTORE=".keystore.json"
export STARKNET_ACCOUNT="testnet.json"

echo 'deploying NoGame...'
stdout=$(starkli deploy --watch 0x010dbfb583094ba616a5f920763f9872076f3c33da8c423aa454ec47a2ade875)
stdout=$(starkli deploy --watch 0x07d59df63ad1ed4ec8adb122e6c15ac0288f5319e78bcbf1587d0cc5c324d975)
nogame=$(echo "$stdout" | grep -o '0x[0-9a-fA-F]\+')
echo 'NOGAME::'${nogame} > deployed_contracts.txt

Expand All @@ -35,5 +35,5 @@ tritium=$(echo "$stdout" | grep -o '0x[0-9a-fA-F]\+')
echo 'TRITIUM::'${tritium} >> deployed_contracts.txt

echo 'initializing NoGame...'
starkli invoke --watch $nogame initializer $nft $steel $quartz $tritium $rand $eth_addr $receiver $speed $price
starkli invoke --watch $nogame initializer $nft $steel $quartz $tritium $eth_addr $receiver $speed $price
printf '\n🚀 all contracts are deployed! 🚀\n'
2 changes: 1 addition & 1 deletion src/libraries/types.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use starknet::ContractAddress;


const E18: u128 = 1000000000000000000;
const MAX_NUMBER_OF_PLANETS: u16 = 500;
const MAX_NUMBER_OF_PLANETS: u16 = 10;
const ETH_ADDRESS: felt252 =
2087021424722619777119509474943472645767659996348769578120564519014510906823;
const BANK_ADDRESS: felt252 =
Expand Down

0 comments on commit edfa769

Please sign in to comment.