@getsafle/blockchain-controller

1.1.2 • Public • Published

Safle Blockchain Controller

Safle Blockchain Controller is used to manage and set the environments of different chains and their networks. This SDK supports both EVM and non-EVM chains.

Installation

Install the package by running the command,

npm install --save @getsafle/blockchain-controller

Import

Import the package into your project using,

const safleBlockchainController = require('@getsafle/blockchain-controller');

Get Networks


Get the list & details of all the chains supported by the Safle controllers.

const networks = await safleBlockchainController.getNetworks();

Get Chain Details


Get all the network details of a specific chain

const networkDetails = await safleBlockchainController.getChainDetails(chain);
  • chain - Chain name

Readme

Keywords

Package Sidebar

Install

npm i @getsafle/blockchain-controller

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

6.73 kB

Total Files

9

Last publish

Collaborators

  • subhanshugupta
  • apoorv31
  • shubham.3008
  • sidth