NEWTON
Asked
30 days ago
14
views
0
Hey, the docs always use await
before methods, but when I try to run those scripts I get an error.
Anyone could help?
0xa483...6765fa
asked
30 days ago
0
Accepted answer
Hey! Just use asyncio library!
The easiest way of using it (from the docs):
import asyncio
async def main():
print('Hello ...')
await asyncio.sleep(1)
print('... World!')
asyncio.run(main())
Put your code inside an async
function and run it with the asyncio.run
war-in
answered
30 days ago
How to use Argent (or any from the main providers) account in the StarkNet.py?
How to send tokens through StarkNet.py?
How to get the contract ABI?
How do I run a Pathfinder node?
How to fix invalid character error while invoking starknetjs frontend app in Cairo?
When you run warp deploy or warp invoke, which account is paying for the tx fees on the Goerli testnet?
How do I develop against cairo devnet with browser wallets?
How to check if a contract has been deployed at a certain address in cairo?
Cairo: Unknown value for memory cell at address
How large can addresses be in Cairo?
Does anyone know a vim plugin for StarkNet smart contracts?
Searching for Cairo Questions
Why am I having trouble deploying my Cairo contract?
How to submit a StarkNet contract?