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

@rosen-chains/cardano-graphql-network

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rosen-chains/cardano-graphql-network

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

  • 4.0.0
  • npm
  • Socket score

Version published
Weekly downloads
97
increased by1516.67%
Maintainers
3
Weekly downloads
 
Created
Source

@rosen-chains/cardano-graphql-network

Table of contents

  • Introduction
  • Installation

Introduction

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

Installation

npm:

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

yarn:

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

Usage

import CardanoGraphQLNetwork from '@rosen-chains/cardano-graphql-network';

let tokens: RosenTokens;
const cardanoGraphQLNetwork = new CardanoGraphQLNetwork(
  'GRAPHQL_URL', // graphql url
  'lockAddress', // bridge lock address in Cardano (used in CardanoRosenExtractor)
  tokens // bridge supported tokens config, provided by `rosen-bridge/contract`
);

const height = await cardanoGraphQLNetwork.getHeight();

FAQs

Package last updated on 16 Apr 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