@suku/governance-eth-lib
v1.2.2
Published
A simple library used to handle SUKU's governance mechanism signing and verification accross microservices using Ethereum's Elliptic Curve Digitial Signature Algorithm.
Downloads
10
Keywords
Readme
SUKU Governance ETH Library
Welcome to the Governance ETH Library.
This library aims to abstract Ethereum interactions across multiple backend and
frontend deployments to provide the functionality for Suku's governance mechanism.
Cheers!
To use the package
npm install @suku/governance-eth-lib
To run locally:
git clone [email protected]:SukuLab/governance-eth-lib.git
cd governance-eth-lib
npm install
npm run build
To test
npm run test
Example File
An example server is given in in ./src/example.ts
Check out the example server and interact with the endpoints!
To Run Example
npm run example
Angular Configuration
This package uses a logger that requires fs
.
fs
is not supported in Angular so package.json
must be updated to include the following:
"browser": {
"fs": false,
"path": false,
"os": false
},