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

flex-swap-sdk

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-swap-sdk

## Description This project utilizes the FlexSDK to interact with a custom network. It demonstrates how to initialize the SDK, retrieve account coin amounts, and more.

1.1.0
latest
npm
Version published
Weekly downloads
3
-70%
Maintainers
0
Weekly downloads
 
Created
Source

Project Name

Description

This project utilizes the FlexSDK to interact with a custom network. It demonstrates how to initialize the SDK, retrieve account coin amounts, and more.

Prerequisites

  • Node.js installed on your machine
  • A valid private key for authentication

Setup

  • Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
    
  • Install dependencies:

    npm install
    
  • Configure your environment:

    • Replace privateKey in src/quickstart.ts with your actual private key.
    • Ensure that TESTNET_FULLNODE and TESTNET_INDEXER are set to the correct endpoints for your custom network.

Usage

To run the script and retrieve the account coin amount, execute the following command:

npx ts-node src/quickstart.ts

FAQs

Package last updated on 26 Feb 2025

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