Skip to main content

Orbital API RPC for Bolivarcoin/Bolicoin blockchain

Project description

Bolivarcoin/Bolicoin API (RPC)

Node API Rpc main class for Bolivarcoin/Bolicoin

Para español vaya a README en español


WARNING: This document and documentation is in development, and it will be available on next releases

WARNING: This is a BETA stable version, issues and pull request are very welcome


This project is a first public beta version of Propuesta DAO a superbloque 764,336 para desarrollo API y APPs periféricas alrededor del núcleo

This API is a first layer to communicate with Bolivarcoin/Bolicoin blockchain using a common node or masternode with user credentials.

On top of this API, developers can build Apps, frontends, bots, remote wallets, notifiers, transactions, monitoring, etc.


Bolivarcoin Blockchain Compatibility

Bolivarcoin version: 2000002 (v2.0.0.2-g)
Protocol version: 70212

You can to verify version using getinfo command on node console. Example:

getinfo

{
  "version": 2000002,
  "protocolversion": 70212,
  "walletversion": 120200,
  "balance": 15658.49718641,
  "privatesend_balance": 0.00000000,
  "blocks": 1234567,
  "timeoffset": 0,
  "connections": 8,
  "proxy": "",
  "difficulty": 12345678.901234,
  "testnet": false,
  "keypoololdest": 1440858873,
  "keypoolsize": 1999,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}

Installation

From PyPi: pip install boli_orbital_api

From source code: git clone https://github.com/Visionario/BoliOrbitalAPI


Usage

Basic use: Communicate with your local node, it must be running on same pc

from boli_orbital_api import Node

node = Node(rpc_user="user", rpc_password="password")
node.is_online
# True
node.getinfo()
# {'result': {'version': 2000002, 'protocolversion': 70212, 'walletversion': 120200, 'balance': 15658.49718641, 'privatesend_balance': 0.0, 'blocks': 1234567, 'timeoffset': 0, 'connections': 8, 'proxy': '', 'difficulty': 36237.78062774216, 'testnet': False, 'keypoololdest': 1440858873, 'keypoolsize': 1999, 'paytxfee': 0.0, 'relayfee': 1e-05, 'errors': ''}, 'errors': False}
{
  "result": {
    "version": 2000002,
    "protocolversion": 70212,
    "walletversion": 120200,
    "balance": 15658.49718641,
    "privatesend_balance": 0.00000000,
    "blocks": 1234567,
    "timeoffset": 0,
    "connections": 8,
    "proxy": "",
    "difficulty": 12345678.901234,
    "testnet": false,
    "keypoololdest": 1440858873,
    "keypoolsize": 1999,
    "paytxfee": 0.00000000,
    "relayfee": 0.00001000,
    "errors": ""
  },
  "errors": false
}

Orbital API sends a json with {"result":..., "errors":...}

Please take a look to docs for details.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boli_orbital_api-0.9b17.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

boli_orbital_api-0.9b17-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file boli_orbital_api-0.9b17.tar.gz.

File metadata

  • Download URL: boli_orbital_api-0.9b17.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.3.9-arch1-1

File hashes

Hashes for boli_orbital_api-0.9b17.tar.gz
Algorithm Hash digest
SHA256 7985191019ca78285f7c3e0abf9579eb607a054906377c307d3cb009d3f22a57
MD5 7870989656cd9645e992017f8e81abe5
BLAKE2b-256 08b871bc39fa261472e7898411a94ee756c5b39ad5aae89e63d2250ebf3d39aa

See more details on using hashes here.

File details

Details for the file boli_orbital_api-0.9b17-py3-none-any.whl.

File metadata

  • Download URL: boli_orbital_api-0.9b17-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.3.9-arch1-1

File hashes

Hashes for boli_orbital_api-0.9b17-py3-none-any.whl
Algorithm Hash digest
SHA256 88215981c3a110dfbf21ac5fcf49d8e49fe4e1b4bd43d07587261150b4a1235c
MD5 96ead93f9c87254077fc16528acfd868
BLAKE2b-256 05b10eb82a409cb4e291898c2283141199b594229ecaa625c622a28a6bb40c8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page