bigfoot-lgcyweb
v1.0.8
Published
This is lgcyweb package
Downloads
2
Readme
What is LgcyWeb?
LgcyWeb aims to deliver a unified, seamless development experience influenced by Ethereum's Web3 implementation.
Compatibility
- Version built for Node.js v6 and above
You can access either version specifically from the dist folder.
Installation
Node.js
npm install bigfoot-lgcyweb
Creating an Instance
First off, in your node.js project, define LgcyWeb:
import LgcyWeb from 'bigfoot-lgcyweb'
FullHost defines fullNode and solidityNode while the eventServer is specified, and the privateKey is passed separately.
const lgcyWeb = new LgcyWeb(
null,
{
fullNode: 'https://...',
solidityNode: 'https://...',
eventServer: 'https://...',
privateKey: '...'
}
)
LgcyWeb is also compatible with frontend frameworks such as:
- Angular
- React
- Vue. Interact wallet chrome extension;
const lgcyWeb = new LgcyWeb(window.lgcyWeb);