Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@getsafle/blockchain-controller

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getsafle/blockchain-controller

Safle Blockchain Controller is used to manage and set the environments of different chains and their networks.

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

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

Keywords

FAQs

Package last updated on 20 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc