Skip to main content

ape-starknet: An ape plugin for the StarkNet networks

Project description

Ape StarkNet

Plugins for the StarkNet Ethereum L2 networks.

Dependencies

  • python3 version 3.7 or greater, python3-dev

Installation

via pip

You can install the latest release via pip:

pip install ape-starknet

via setuptools

You can clone the repository and use setuptools for the most up-to-date version:

git clone https://github.com/ApeWorX/ape-starknet.git
cd ape-starknet
python3 setup.py install

Quick Usage

Deploy a new account:

ape starknet accounts create <ALIAS> --network starknet:testnet

You can deploy the same account to multiple networks.

ape starknet accounts create <ALIAS> --network starknet:mainnet

Now, when you look at this account, you will see it has multiple contract addresses:

ape starknet accounts list

shows:

Alias                      - <ALIAS>
Public key                 - 0x123444444d716666dd88882bE2e99991555DE1c7
Contract address (testnet) - 0x6b7111AA4111e5B2229c3332B66696888164440A773333143333B383333a183
Contract address (mainnet) - 0x7873113A4111e5B2229c3332B66696388163440A373333143333B3833332122

Import an existing account:

ape starknet accounts import <ALIAS> --address 0x6b7111AA4111e5B2229c3332B66696888164440A773333143333B383333a183 --network testnet

Development

This project is in development and should be considered a beta. Things might not be in their final state and breaking changes may occur. Comments, questions, criticisms and pull requests are welcomed.

License

This project is licensed under the Apache 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ape-starknet-0.1.0a2.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

ape_starknet-0.1.0a2-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file ape-starknet-0.1.0a2.tar.gz.

File metadata

  • Download URL: ape-starknet-0.1.0a2.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ape-starknet-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 bb2f4e17864ef89d620b73e5731a02c9bcf0266b16c7156efe2124e0a6bae4b8
MD5 6123d0ccd0f2d0c0fdd69ea2ad9b736c
BLAKE2b-256 d914ab104bd39088ec55d503a135188cc1e5d0067be8963b6cf15f5b707f2e4c

See more details on using hashes here.

File details

Details for the file ape_starknet-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: ape_starknet-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ape_starknet-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 068e7fbc1f9f7fbefd3b6c799a04ed93ad9186d5ac48299f0a2ec1463b7f58ac
MD5 2637f7c593cb132d6232e36252f23a5b
BLAKE2b-256 b1b2b7cb5d5cc9717b987c980b80ca4914b93a435145e47c4171f76d0043806b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page