Node.js native binding for abieos, with some improvements:
- Contracts can be directly updated on the map
- Added
abieos_delete_contract
Made with ♥ by EOS Rio
Only Linux is supported for now
- Typescript typings included
- Prebuilt binary included (Clang 18 required to build)
npm i @eosrio/node-abieos --save
CommonJS
const nodeAbieos = require('@eosrio/node-abieos');
ES Modules
import {Abieos} from "@eosrio/node-abieos";
const abieos = Abieos.getInstance();
Check the /examples folder for implementation examples
Make sure you have Clang installed on your system:
We recommend using Clang 18 to build the abieos
C++ library.
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
Clone and Build
git clone https://github.com/eosrio/node-abieos.git --recursive
cd node-abieos
npm install
npm run build:linux
npm run build