bitcoin-requests-2.0.0
توضیحات
Simplest Bitcoin Core RPC interface.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bitcoin-requests-2.0.0 |
| نام | bitcoin-requests |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | fiatjaf |
| ایمیل نویسنده | fiatjaf@gmail.com |
| آدرس صفحه اصلی | https://github.com/fiatjaf/bitcoin-requests |
| آدرس اینترنتی | https://pypi.org/project/bitcoin-requests/ |
| مجوز | MIT |
The simplest Bitcoin Core RPC library for when you just want to talk to Bitcoin Core.
## Usage
If you started Bitcoin Core like this:
```bash
bitcoind -regtest -rpcuser=user -rpcpassword=pass
```
Instantiate the `bitcoin_requests` RPC client like this:
```python
from bitcoin_requests import BitcoinRPC
rpc = BitcoinRPC('http://127.0.0.1:18443', 'user', 'pass')
blocks = rpc.generate(101)
tx = rpc.sendtoaddress(address, 20)
```
## Installation
```
pip install bitcoin-requests
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
نحوه نصب
نصب پکیج whl bitcoin-requests-2.0.0:
pip install bitcoin-requests-2.0.0.whl
نصب پکیج tar.gz bitcoin-requests-2.0.0:
pip install bitcoin-requests-2.0.0.tar.gz