@energi/energi-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Energi SDK

Requirements

  • nodejs v16.10.0
  • yarn v1.22.15

Build

yarn build

Publish

yarn publish

How To Use

Add the library to the project by the following commands:

npm install @energi/energi-sdk
# or
yarn add @energi/energi-sdk
import React from 'react';
import sdk from '@energi/energi-sdk';

...
console.log(sdk);
// output: 
// {
//   {
//   "name": "Energi SDK",
//   "version": {
//     "major": 1,
//     "minor": 0,
//     "patch": 0
//   },
//   "timestamp": "2022-02-03T17:33:32.021Z",
//   "energi": {
//     ... energi variables
//   },
//   "ethereum": {
//     ... etherem variables
//   },
//   "contracts": {
//     ... contract addresses
//   },
//   "STABLE_COINS": [
//     ... stable coins
//   ],
//   "ZERO_ADDRESS": "0x0000000000000000000000000000000000000000",
//   "urls": {
//     ... RPC and subgraph urls
//   },
//   "social": {
//     ... social media constants
//   },
//   "keywords": [
//     "energi",
//     "sdk"
//   ]
// }

Readme

Keywords

Package Sidebar

Install

npm i @energi/energi-sdk

Weekly Downloads

0

Version

1.2.1

License

GPL-3.0-or-later

Unpacked Size

20.1 kB

Total Files

19

Last publish

Collaborators

  • ryanlucchese
  • maxsuard
  • leondolinar