Skip to content

algodex-sdk 2.0.0-next.16

Install from the command line:
Learn more about npm packages
$ npm install @algodex/algodex-sdk@2.0.0-next.16
Install via package.json:
"@algodex/algodex-sdk": "2.0.0-next.16"

About this version

algodex-sdk

semantic-release

algodex/algodex-sdk:main Maintainability Test Coverage

Client-side JavaScript API calls for Algodex as an npm package

πŸ“ Folder Structure

# tree -f -L 2
.
β”œβ”€β”€ ./bin # Binary Files
β”œβ”€β”€ ./lib # Library Files
β”‚Β Β  β”œβ”€β”€ ./lib/functions # Algodex Functions
β”‚Β Β  └── ./lib/teal # Contract Code
β”‚Β Β  └── ./lib/http # REST Clients
β”‚Β Β  └── ./lib/utils # Utilities
β”‚Β Β  └── ./lib/AlgodexAPI.js # API Interface
β”œβ”€β”€ ./spec # Type Specifications
β”œβ”€β”€ ./test # Testing Directory
β”œβ”€β”€ ./package.json
└── ./yarn.lock

βš™ Getting Started

✨ Prerequisites

πŸ“¦ Setup

yarn

βœ… Testing

Automated smart contract tests

yarn test

Unit testing with coverage

yarn coverage

With Chrome debugger support:

yarn testDebug

πŸ”§ Enabling smart contract source logs in the console output

export DEBUG_SMART_CONTRACT_SOURCE=1

Note: if https://github.com/algodex/algodex-go-api is set up and running, the console will also print out the transactions in json format

βš— Manual Usage

  1. Download and set up https://github.com/algodex/algodex-experimental
  2. Run the following in the algodex-sdk directory:
yarn link
  1. Run the following in the algodex-experimental directory:
rm -rf 'node_modules/@algodex'
yarn link @algodex/algodex-sdk

πŸ•Έ Links

Details


Assets

  • algodex-sdk-2.0.0-next.16-npm.tgz

Download activity

  • Total downloads 3
  • Last 30 days 0
  • Last week 0
  • Today 0