Skip to main content

Async blockchain nodes interacting tool with ORM-like api.

Project description


OBM logo




Travis CI Build Status PyPI version Documentation Status Code style: black

Motivation

There are a lot of cryprocurrencies and many of them maintain their own blockchain. Essentially, blockchain is a database, therefore you can interact with it in the same way as with the ordinary database. If you follow how the database interacting tools evolved, you can see that at low-level there are database adapters (such as psycopg2, pymongo, etc.) on top of which are built more abstract and convenient ORMs/ODMs (sqlalchemy, mongo-engine, etc.) Blockchain technology, that is still in its infancy, really lacks similar tools for developers. The goal of this project is to become such a tool. It provides both low-level adapters and high-level ORM-like API for interacting with blockchain node. Also, it’s worth clarifying, that ordinary databases have already reached stable APIs unlike blockchain nodes that just provide scattered JSON RPC or/and other non-standard API. OBM is trying to do typically things in universal way. Thereby standardization and unification become the second project goal.

Resources

Installation

pip install obm

Requirements

Features

  • Async and sync top-level API

  • BTC (bitcoin-core) and ETH (geth) support

  • Implemented list-transactions for ETH

  • Unified API for sending/receiving transactions, addresses creation and fee estimating

Future features

  • support for: ETH, ETC, DASH, BCH, LTC, ZEC, XEM, XRP, etc.

Is OBM production ready?

The project is now under active development. Use at your own risk and lock dependency version on minore.

Contributing

See CONTRIBUTING.md for instructions.

Support the developer

Sponsors

Special thanks for Swapzilla project that paid me part of the development.

Swapzilla logo

You can also become the sponsor and get priority development of the features you require. Just contact me.

Buy me a beer

BTC 179B1vJ8LvAQ2r9ABNhp6kDE2yQZfm1Ng3

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

obm-0.0.19.tar.gz (17.4 kB view details)

Uploaded Source

File details

Details for the file obm-0.0.19.tar.gz.

File metadata

  • Download URL: obm-0.0.19.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2+

File hashes

Hashes for obm-0.0.19.tar.gz
Algorithm Hash digest
SHA256 5e16434eca856ee170d23acd1a9c187135986ec6b0b358190ed1772a3a6139ec
MD5 ad39a34207afa0a37b5ff9c9ec36a549
BLAKE2b-256 7cf90cf02f2985712d3700db87a34ae9285b835a0d31590974a8bbee92c52b9a

See more details on using hashes here.

Supported by

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