A CRAB-based ORM for BigchainDB that maps blockchain operations (Create, Retrieve, Append, Burn) to familiar database CRUD patterns. Version 3.0.3 is the latest stable release with no active development since 2019. Uses the official BigchainDB JavaScript driver under the hood and provides model-based asset management with transaction history. Breaking changes in v3 modified storage namespacing, making it incompatible with data created by v2. Alternative to using the lower-level BigchainDB driver directly, offering a simpler abstraction for asset lifecycle operations.
npm install bigchaindb-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize BigchainDB ORM, define a model, and create an asset with Ed25519 keys.
Migrate data by re-creating assets under v3; backward incompatible with v2.
Consider using a different blockchain storage solution (e.g., IPFS, traditional DB).
Use const Orm = require('bigchaindb-orm').default;Instantiate Orm first, then use new bdbOrm.driver.Ed25519Keypair().
Define models only once during initialization.
Install with `npm install bigchaindb-orm`. Ensure you are using Node.js and have a package.json.
Use `import Orm from 'bigchaindb-orm'`.
Use `const Orm = require('bigchaindb-orm').default`.Check that the BigchainDB node URL is correct and reachable. Use a testnet endpoint like 'https://test.bigchaindb.com/api/v1/'.