1.1.2 • Published 3 years ago

@getsafle/blockchain-controller v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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
1.1.1

3 years ago

1.1.2

3 years ago

1.0.2

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago