New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rosen-chains/cardano-blockfrost-network

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rosen-chains/cardano-blockfrost-network

a package to be used as network api provider for @rosen-chains/cardano package

  • 7.0.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-89.66%
Maintainers
0
Weekly downloads
 
Created
Source

@rosen-chains/cardano-blockfrost-network

Table of contents

  • Introduction
  • Installation

Introduction

@rosen-chains/cardano-blockfrost-network is a package to be used as network api provider for @rosen-chains/cardano package

Installation

npm:

npm i @rosen-chains/cardano-blockfrost-network

yarn:

yarn add @rosen-chains/cardano-blockfrost-network

Usage

import { CardanoChain } from '@rosen-chains/cardano';
import CardanoBlockFrostNetwork from '@rosen-chains/cardano-blockfrost-network';

let tokens: RosenTokens;
const cardanoBlockFrostNetwork = new CardanoBlockFrostNetwork(
  'PROJECT_ID', // blockFrost project id
  'lockAddress', // bridge lock address in Cardano (used in CardanoRosenExtractor)
  tokens, // bridge supported tokens config, provided by `rosen-bridge/contract`
  undefined // backend url, uses main blockFrost backend if no url is passed
);

const height = await cardanoBlockFrostNetwork.getHeight();

FAQs

Package last updated on 16 Dec 2024

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