![]() ![]() PENDING Means that the transaction passed the validation and is waiting to be sent on-chain. Upon deployment, the CLI will return an address, which can be used to interact with.Ĭheck deployment status by passing in the transaction ID you receive: bin/shell starknet tx_status -network=alpha -id=176230 Test bin/shell pytest testing/GameEngineV1_contract_test.pyīin/shell pytest testing/MarketMaker_contract_test.pyĭeploy bin/shell starknet deploy -contract contracts/GameEngineV1_compiled.json \īin/shell starknet deploy -contract contracts/MarketMaker_compiled.json \ output contracts/MarketMaker_compiled.json \ output contracts/GameEngineV1_compiled.json \īin/shell starknet-compile contracts/MarketMaker.cairo \ bin/shell starknet-compile contracts/GameEngineV1.cairo \ It will also produce an ABI, which is a mapping of the contract functions (used to interact with the contract). The compiler will check the integrity of the code locally. If using VS-code for writing code, install the extension for syntax highlighting: curl -LO Ĭode -install-extension cairo-0.4.0.vsixįile name prefixes are paired (e.g., contract, ABI and test all share comon prefix). Learn more in the Cairo language and StarkNet docs here, which also has instructions for manual installation if you are not using docker. The CLI communicates with a server that StarkNet runs, which bundles the requests, executes the program (contracts are Cairo programs), creates and aggregates validity proofs, then posts them to the Goerli Ethereum testnet. The CLI allows you to deploy to StarkNet and read/write to contracts already deployed. State transitions executed by validity proofs that the EVM checks.Ĭlone this repo and use our docker shell to interact with starknet: git clone :dopedao/RYO.git A turing-complete language for programs that become proofs. Add patch to remove the libtool macros to stop the libtool. Initial exploration / walkthrough viability testing blog here. properly find the default automake path instead of hardcoding it Closes: 713188 - Evgeni Golov Fri, 18:49:39 0200 dopewars (1.5.12-13) unstable urgencylow Created quilt patches for locally changed files and reverted the changed files to their source originals. TI-83 drug wars built as smart contract system. Dope Wars game engine on StarkNet L2 roll-up. ![]()
0 Comments
Leave a Reply. |