# circle-developer-controlled-wallets
Developer-Controlled Wallets API documentation.
- API version: 1.0
- Package version: 1.1.1
## Requirements.
Python 3.7+
## Installation
### pip install
```sh
pip install circle-developer-controlled-wallets
```
Then import the package:
```python
from circle.web3 import developer_controlled_wallets
```
## Usage
1. Generate an API key, if you haven't already, in the [Web3 Services Console](https://console.circle.com/). 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.
```sh
export CIRCLE_WEB3_API_KEY="Your API KEY"
```
2. Register an entity secret following Circle's [Developer-Controlled QuickStart](https://learn.circle.com/quickstarts/dev-controlled-wallets). 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
```sh
export CIRCLE_ENTITY_SECRET="Your entity secret"
```
3. Initiate API client
```python
from circle.web3 import utils
client = utils.init_developer_controlled_wallets_client(api_key="Your API KEY", entity_secret="Your entity secret")
```
4. Interact with the client:
```python
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](https://developers.circle.com/w3s) and [QuickStart guides](https://learn.circle.com/) 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](https://learn.circle.com/quickstarts/developer-controlled-wallets): Check out our official Developer-Controlled Wallets QuickStart.
- 🎮 [Join our Discord Community](https://discord.com/invite/buildoncircle): Engage, learn, and collaborate.
- 🛎 [Visit our Help-Desk Page](https://support.usdc.circle.com/hc/en-us/p/contactus?_gl=1*1va6vat*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Dive into curated FAQs and guides.
- 📧 [Direct Email](mailto:customer-support@circle.com): We're always a message away.
- 📖 [Read docs](https://developers.circle.com/w3s/docs?_gl=1*15ozb5b*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Check out our developer documentation.
Happy coding!
Raw data
{
"_id": null,
"home_page": null,
"name": "circle-developer-controlled-wallets",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "OpenAPI, OpenAPI-Generator, Developer-Controlled Wallets",
"author": "OpenAPI Generator community",
"author_email": "team@openapitools.org",
"download_url": "https://files.pythonhosted.org/packages/01/f8/cf36ce6f75df1d8eb541af32553889ee789afb81dac43652cd2fa6b8743b/circle_developer_controlled_wallets-1.1.1.tar.gz",
"platform": null,
"description": "# circle-developer-controlled-wallets\nDeveloper-Controlled Wallets API documentation.\n\n- API version: 1.0\n- Package version: 1.1.1\n\n## Requirements.\n\nPython 3.7+\n\n## Installation\n### pip install\n\n```sh\npip install circle-developer-controlled-wallets\n```\n\nThen import the package:\n```python\nfrom circle.web3 import developer_controlled_wallets\n```\n\n\n## Usage\n\n1. Generate an API key, if you haven't already, in the [Web3 Services Console](https://console.circle.com/). 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.\n\n```sh\nexport CIRCLE_WEB3_API_KEY=\"Your API KEY\"\n```\n\n2. Register an entity secret following Circle's [Developer-Controlled QuickStart](https://learn.circle.com/quickstarts/dev-controlled-wallets). 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\n\n```sh\nexport CIRCLE_ENTITY_SECRET=\"Your entity secret\"\n```\n\n3. Initiate API client\n\n```python\nfrom circle.web3 import utils\n\nclient = utils.init_developer_controlled_wallets_client(api_key=\"Your API KEY\", entity_secret=\"Your entity secret\")\n```\n\n4. Interact with the client:\n\n```python\nfrom circle.web3 import developer_controlled_wallets\n\napi_instance = developer_controlled_wallets.WalletSetsApi(client)\n\n# create wallet sets\ntry:\n request = developer_controlled_wallets.CreateDeveloperWalletSetRequest.from_dict({\n \"name\": \"my_wallet_set\"\n })\n api_instance.create_wallet_set(request)\nexcept developer_controlled_wallets.ApiException as e:\n print(\"Exception when calling WalletSetsApi->create_wallet_set: %s\\n\" % e)\n\n# list wallet sets\ntry:\n response = api_instance.list_wallet_sets()\n for wallet_set in response.data.wallet_sets:\n print(wallet_set.id)\nexcept developer_controlled_wallets.ApiException as e:\n print(\"Exception when calling WalletSetsApi->list_wallet_sets: %s\\n\" % e)\n```\n\nWe recommend reading through the official [documentation](https://developers.circle.com/w3s) and [QuickStart guides](https://learn.circle.com/) mentioned above to ensure a smooth setup and usage experience.\n\n\n## Configuration\n\nThe client accept following configuration parameters:\n\nOption | Required | Description\n------------ | ------------- | -------------\napi_key | Yes | Api Key that is used to authenticate against Circle APIs. Must be provided by ether env variable or function parameter\nentity_secret | Yes | Your configured entity secret. Must be provided by ether env variable or function parameter.\nhost | No | Optional base URL to override the default: https://api.circle.com/v1/w3s.\nuser_agent | No | Optional custom user agent request header. We will prepend it to default user agent header if provided.\n\n\n## Need help or have questions?\n\nHere are some helpful links, if you encounter any issues or have questions about this SDK:\n\n- \ud83d\udcd6 [Getting started](https://learn.circle.com/quickstarts/developer-controlled-wallets): Check out our official Developer-Controlled Wallets QuickStart.\n- \ud83c\udfae [Join our Discord Community](https://discord.com/invite/buildoncircle): Engage, learn, and collaborate.\n- \ud83d\udece [Visit our Help-Desk Page](https://support.usdc.circle.com/hc/en-us/p/contactus?_gl=1*1va6vat*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Dive into curated FAQs and guides.\n- \ud83d\udce7 [Direct Email](mailto:customer-support@circle.com): We're always a message away.\n- \ud83d\udcd6 [Read docs](https://developers.circle.com/w3s/docs?_gl=1*15ozb5b*_ga*MTAyNTA0NTQ2NC4xNjk5NTYyMjgx*_ga_GJDVPCQNRV*MTcwMDQ5Mzg3Ny4xNC4xLjE3MDA0OTM4ODQuNTMuMC4w): Check out our developer documentation.\nHappy coding!\n",
"bugtrack_url": null,
"license": null,
"summary": "Developer-Controlled Wallets",
"version": "1.1.1",
"project_urls": null,
"split_keywords": [
"openapi",
" openapi-generator",
" developer-controlled wallets"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d5707c8fcf289f7b6348b6af1337ecede228bf95bfcc97ffef264fb3715329c8",
"md5": "1ce407a2285462f178757aca09988549",
"sha256": "f3b6ea90807754a1f1e660623613262d79dd470278a8cae464cebe9d8e4e8d01"
},
"downloads": -1,
"filename": "circle_developer_controlled_wallets-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1ce407a2285462f178757aca09988549",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 148717,
"upload_time": "2024-06-14T15:24:13",
"upload_time_iso_8601": "2024-06-14T15:24:13.670400Z",
"url": "https://files.pythonhosted.org/packages/d5/70/7c8fcf289f7b6348b6af1337ecede228bf95bfcc97ffef264fb3715329c8/circle_developer_controlled_wallets-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "01f8cf36ce6f75df1d8eb541af32553889ee789afb81dac43652cd2fa6b8743b",
"md5": "fcccbc798f2973a21f71acf6b1828bec",
"sha256": "6f9c36d42df2dcaa3765ff6f7179d0bd99153cdc6f820fb23dc8dd81d1d61c3f"
},
"downloads": -1,
"filename": "circle_developer_controlled_wallets-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "fcccbc798f2973a21f71acf6b1828bec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 71073,
"upload_time": "2024-06-14T15:24:17",
"upload_time_iso_8601": "2024-06-14T15:24:17.816708Z",
"url": "https://files.pythonhosted.org/packages/01/f8/cf36ce6f75df1d8eb541af32553889ee789afb81dac43652cd2fa6b8743b/circle_developer_controlled_wallets-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-14 15:24:17",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "circle-developer-controlled-wallets"
}