A Python SDK for integrating with the CoinRemitter cryptocurrency payment gateway API.
Project description
coin_remitter
The coin_remitter
Python package provides a straightforward and powerful interface to the CoinRemitter cryptocurrency payment gateway API. Designed for developers who need to integrate cryptocurrency transactions into their applications, this package supports various operations such as creating wallets, validating addresses, withdrawing coins, handling invoices, and more. Whether you're building a cryptocurrency wallet, a payment gateway for an eCommerce site, or any application that requires cryptocurrency transactions, coin_remitter
offers the tools you need to get the job done efficiently.
Features
- Wallet Operations: Create new wallets and retrieve balances.
- Address Validation: Ensure cryptocurrency addresses are valid before transactions.
- Withdrawals: Send coins to external addresses.
- Transaction Management: Retrieve transaction details by ID or address.
- Invoicing: Create and manage invoices for payments.
Installation
Install coin_remitter
using pip:
pip install coin_remitter
Quick Start
To use coin_remitter
, you first need to obtain an API key and a password from the CoinRemitter dashboard. Once you have these, you can start by creating a client instance for the cryptocurrency you're working with.
from coin_remitter import CoinRemitter
# Initialize the client for Ethereum
eth_client = CoinRemitter(api_key='your_api_key', password='your_wallet_password', coin="ETH")
Examples
Below are various examples demonstrating how to perform common tasks with the coin_remitter
package.
Creating a New Wallet
new_wallet_response = eth_client.create_new_wallet(label='MyNewWallet')
print(f'New Wallet Response: {new_wallet_response}')
Validating an Address
is_valid = eth_client.validate_address(address='0xYourEthereumAddress')
print(f'Address Valid: {is_valid}')
Withdrawing Coins
withdrawal_url = eth_client.withdraw(amount=0.1, address='0xExternalEthereumAddress')
print(f'Transaction Explorer URL: {withdrawal_url}')
For more examples and detailed usage, refer to the Examples section below.
Documentation
For comprehensive documentation, including a complete list of functionalities and API endpoints, please refer to the CoinRemitter API Documentation.
Contributing
Contributions to coin_remitter
are welcome! Please refer to the contributing guidelines for more information on how to report bugs, suggest enhancements, and submit pull requests.
License
coin_remitter
is licensed under the MIT License. See the LICENSE file for more details.
Links
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
File details
Details for the file coin_remitter-0.1.1.tar.gz
.
File metadata
- Download URL: coin_remitter-0.1.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aab4ec642dfd0a8edd8dd62164661d379d0bb28a410fc2eaaf1fdc681a15a62 |
|
MD5 | 7fc54fbc1895d0b920599d967b7e47e3 |
|
BLAKE2b-256 | 45b3e152578d9eb4fcf724e5e33baa37aa4bec8c85d2e7f0cbd9091e19084e50 |
File details
Details for the file coin_remitter-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: coin_remitter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf1cd2d73ff35ba9ad70decdb5f6f4d2ae387d6923d4458a54b04e3176cd18a |
|
MD5 | acf4c25f88b49c6feab4a216e2b34857 |
|
BLAKE2b-256 | 49ec7525ce1fc46d9977ae0f2f53d2eda4f8f606900157e590708d471a20ac61 |