1.0.1 • Published 11 months ago

@algodex/algodex-sdk-patch v1.0.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
11 months ago

algodex-sdk

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

*** Patched with new endpoints

Installation

npm ci

Testing

Automated smart contract tests

npm test

With Chrome debugger support:

npm run 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 testing

  1. Download and set up https://github.com/algodex/algodex-experimental
  2. Run the following in the algodex-sdk directory:

npm link

  1. Run the following in the algodex-experimental directory:

rm -rf 'node_modules/@algodex'

npm link @algodex/algodex-sdk

Architecture Documentation

https://github.com/algodex/algodex-architecture