Use our ResilientDB TypeScript SDK to transact on ResilientDB, which leverages BigChainDB and mirrors the fucntionality of the python SDK.
NOTE:
- Has not undergone extensive software testing
- Currently missing some functionality
Make sure Node v21.1.0 is installed on your machine via homebrew (MACOS), NVM (ANY), or any native package manager
# Using NVM
cd your-project
nvm install 21.1.0
# switch to Node v21.1.0
nvm use 21.1.0
# check version
node -v
- Node v21.1.0
- NOTE: If you do not use the correct version, you may need to download additional polyfills
Add the SDK's remote URI to pull the repository upon calling npm i
{
"...": "<OTHERS>",
"dependencies": {
"...": "<OTHERS>",
"resilient-sdk": "<GITHUB REPOSITORY LINK>",
"...": "<OTHERS>",
},
"...": "<OTHERS>"
}
# Example installation steps
cd your-project
// installs all dependencies in node modules
npm install
const resilient-sdk = require("resilient-sdk")
// OR DESTRUCTURED IMPORTS
import { ... } from 'resilient-sdk'
// you will have have access to all classes and interfaces for your application
The ExpoLab at the University of California, Davis Primary contributor: Steve Chen
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.