Skip to content
forked from EOSIO/abieos

Node.js native binding for abieos

Notifications You must be signed in to change notification settings

eosrio/node-abieos

 
 

Repository files navigation

node-abieos

CI Node-API v9 Badge NPM version

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)

Install

npm i @eosrio/node-abieos --save

Usage

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

Building

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

About

Node.js native binding for abieos

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.8%
  • C 3.6%
  • Other 0.6%