{"repo":"software-mansion/starknet.py","free":true,"listed":false,"github":"https://github.com/software-mansion/starknet.py","clone":"git clone https://github.com/software-mansion/starknet.py.git","description":"✨ 🐍 Python SDK for Starknet.","language":"Python","stars":278,"topics":["python","starknet","starkware","zk-rollup","l2","ethereum","sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Starknet SDK for Python 📘 Documentation - Installation - Quickstart - Guide - API - Migration guide ⚙️ Installation Installation varies between operating systems. See our documentation on complete instructions 💨 Quickstart Using FullNodeClient A Client is a facade for interacting with Starknet. FullNodeClient is a client which interacts with a Starknet full nodes like Pathfinder, Papyrus or Juno. It supports read and write operations, like querying the blockchain state or adding new transactions. The default interface is asynchronous. Although it is the recommended way of using starknet.py, you can also use a synchronous version. It might be helpful to play with Starknet directly in python interpreter. You can check out all of the FullNodeClient’s methods here: FullNodeClient. Creating Account Account is the default implementation of BaseAccount interface. It supports an account contract which proxies the calls to other contracts on Starknet. Account can be created in two ways: - By constructor (It is required to provide an address and either key pair or signer ). - By static method Account.deploy account v3 Additionally, you can use the sncast tool to create an account, which will automatically be saved to a file. There are some examples how to do it: Using Account Example usage: Using Contract Contract makes interacting with contracts deployed on Starknet much easier: To check if invoke succeeded use wait for acceptance on InvokeResult and get its status. Although asynchr","default_branch":null,"files":null,"tree":[],"storefront":"/r/software-mansion","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/software-mansion/starknet.py/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}