1.2.1 • Published 1 year ago

@energi/energi-sdk v1.2.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
1 year ago

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"
//   ]
// }
1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago