Crossmint Wallet Implementation for GOAT SDK
This package provides Crossmint wallet integration for the GOAT SDK, supporting both EVM Smart Wallets and Solana Custodial Wallets.
Features
- EVM Smart Wallet support
- Solana Custodial Wallet support
- Async API client for Crossmint interactions
- Support for multiple authentication methods (email, phone, user ID)
- Transaction and signature management
- Balance queries and ENS resolution
Installation
poetry add goat-sdk-wallet-crossmint
Usage
from goat_wallets.crossmint import smart_wallet_factory, custodial_factory
from crossmint.common_sdk_base import CrossmintApiClient
# Initialize Crossmint client
crossmint_client = CrossmintApiClient(...)
# Create Smart Wallet
smart_wallet = await smart_wallet_factory(crossmint_client)({
# Required: One of the following to locate the wallet
"address": "0x...", # Wallet address, or use linkedUser instead:
# "linkedUser": {
# "email": "user@example.com", # Or use phone/userId
# # "phone": "+1234567890",
# # "userId": "user-id"
# },
"chain": "base", # or "ethereum", etc.
"signer": {
"secretKey": "0x..." # Private key for signing
},
"provider": "https://base-mainnet.g.alchemy.com/v2/your-api-key",
"options": {
"ensProvider": "https://base-mainnet.g.alchemy.com/v2/your-api-key" # Optional: For ENS resolution
}
})
# Create Custodial Solana Wallet
custodial_wallet = await custodial_factory(crossmint_client)({
"connection": solana_connection, # Solana RPC connection
# One of the following for wallet location:
"email": "user@example.com",
# "phone": "+1234567890",
# "userId": "user-id",
# "address": "solana-address"
})
License
MIT License
Metadata
Release files for goat-sdk-wallet-crossmint 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goat_sdk_wallet_crossmint-0.1.14.tar.gz | 24.4 kB | Without provenance | Details for goat_sdk_wallet_crossmint-0.1.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goat_sdk_wallet_crossmint-0.1.14-py3-none-any.whl | Python 3 | none | any | Details for goat_sdk_wallet_crossmint-0.1.14-py3-none-any.whl |
Total release size: 55.8 kB
Release files / goat_sdk_wallet_crossmint-0.1.14.tar.gz
| Download URL | goat_sdk_wallet_crossmint-0.1.14.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2c4f1ec2ccff07130861a71936c6b4e2ac3710380deb42905629af52a441065
|
|
BLAKE2b-256 checksum How to use checksums |
9d070839dc657973b8253c239affe4d475cd503c5557306ce65a2f6d546e8fed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Release files / goat_sdk_wallet_crossmint-0.1.14-py3-none-any.whl
| Download URL | goat_sdk_wallet_crossmint-0.1.14-py3-none-any.whl |
|---|---|
| Size | 31.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41bbd31e49ddc76f9bb83bb89b05f846e82243c95371e9bdc40c94d75c55be1d
|
|
BLAKE2b-256 checksum How to use checksums |
0f905846a4fa88c0238b686ed0008cefb617d7ef4c9bdf38c31415dfe516a95d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Security for goat-sdk-wallet-crossmint 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.