0.0.3 • Published 3 months ago

@wireio/node-abieos v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

node-abieos

Node.js native binding for abieos, with some improvements:

  • Contracts can be directly updated on the map
  • Added abieos_delete_contract

Only supported OS is Linux

  • Typescript typings included
  • Prebuilt binary included (Clang 18 required to build)

Install

npm i @wireio/node-abieos --save

Usage

CommonJS

const nodeAbieos = require('@wireio/node-abieos');

ES Modules

import * as nodeAbieos from "@wireio/node-abieos";

Check the /examples folder for implementation examples

Build

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/wireio/node-abieos.git
cd node-abieos
npm install
npm run build:linux
npm run build:tsc
0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago