Developer-Controlled Wallets
Project description
circle-developer-controlled-wallets
Developer-Controlled Wallets API documentation.
- API version: 1.0
- Package version: 1.1.0
Requirements.
Python 3.7+
Installation
pip install
pip install circle-developer-controlled-wallets
Then import the package:
from circle.web3 import developer_controlled_wallets
Usage
- Generate an API key, if you haven't already, in the Web3 Services Console. This API key will be used for authentication and authorization when making requests to Circle's APIs. API key can be set by environment variable or function parameter.
export CIRCLE_WEB3_API_KEY="Your API KEY"
- Register an entity secret following Circle's Developer-Controlled QuickStart. This step ensures that your account is correctly set up to interact with Circle's APIs. Entity secret can be set by environment variable or function parameter
export CIRCLE_ENTITY_SECRET="Your entity secret"
- Initiate API client
from circle.web3 import utils
client = utils.init_developer_controlled_wallets_client(api_key="Your API KEY", entity_secret="Your entity secret")
- Interact with the client:
from circle.web3 import developer_controlled_wallets
api_instance = developer_controlled_wallets.WalletSetsApi(client)
# create wallet sets
try:
request = developer_controlled_wallets.CreateDeveloperWalletSetRequest.from_dict({
"name": "my_wallet_set"
})
api_instance.create_wallet_set(request)
except developer_controlled_wallets.ApiException as e:
print("Exception when calling WalletSetsApi->create_wallet_set: %s\n" % e)
# list wallet sets
try:
response = api_instance.list_wallet_sets()
for wallet_set in response.data.wallet_sets:
print(wallet_set.id)
except developer_controlled_wallets.ApiException as e:
print("Exception when calling WalletSetsApi->list_wallet_sets: %s\n" % e)
We recommend reading through the official documentation and QuickStart guides mentioned above to ensure a smooth setup and usage experience.
Configuration
The client accept following configuration parameters:
Option | Required | Description |
---|---|---|
api_key | Yes | Api Key that is used to authenticate against Circle APIs. Must be provided by ether env variable or function parameter |
entity_secret | Yes | Your configured entity secret. Must be provided by ether env variable or function parameter. |
host | No | Optional base URL to override the default: https://api.circle.com/v1/w3s. |
user_agent | No | Optional custom user agent request header. We will prepend it to default user agent header if provided. |
Need help or have questions?
Here are some helpful links, if you encounter any issues or have questions about this SDK:
- 📖 Getting started: Check out our official Developer-Controlled Wallets QuickStart.
- 🎮 Join our Discord Community: Engage, learn, and collaborate.
- 🛎 Visit our Help-Desk Page: Dive into curated FAQs and guides.
- 📧 Direct Email: We're always a message away.
- 📖 Read docs: Check out our developer documentation. Happy coding!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for circle_developer_controlled_wallets-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a6579226c90533ec7ae7640586d1f853b5fd56ec50325e17c9f6d75153eb071 |
|
MD5 | 4b5ce1fb8b532095a299b5ba87b828c5 |
|
BLAKE2b-256 | a6ddea6c8dcb2d178c7e5954f88450e094cdc0e965bfd4105ea37ef0a36eda87 |
Close
Hashes for circle_developer_controlled_wallets-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8fba380a1afe7bc6021693e001e7a41147f00d725ac95700e2170aa53310a1 |
|
MD5 | 6b09f6260813e6193e553683dd8234ed |
|
BLAKE2b-256 | fffcc097b03d38c1a8b6191fcdeb7e40de60749473673e37074520427b9a94bd |