Skip to content

getsafle/blockchain-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A controller to manage and set the environments of different chains and their networks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published