jmagan / cardano-js-sdk

:construction: Work in progress: JavaScript SDK for interacting with Cardano, providing various key management options, support for popular hardware wallets

Home Page:https://input-output-hk.github.io/cardano-js-sdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cardano JS SDK

PostIntegration Nightly Release


Overview

A suite of TypeScript packages suitable for both Node.js and browser-based development.

External Provider Implementations

Supported Environments

Packages are distributed as both CommonJS and ESM modules.

  • Node.js >=14.15.0 <15.0.0
    • using with type="module" requires --experimental-specifier-resolution=node flag
  • Browser via bundlers (see example webpack config)

Testing

Development

A Yarn Workspace maintaining a single version across all packages.

System Requirements

Clone

git clone \
  --recurse-submodules \
  https://github.com/input-output-hk/cardano-js-sdk.git \
  && cd cardano-js-sdk

Install and Build

nvm install && \
nvm use && \
yarn install && \
yarn build

Run Tests

yarn test

or

yarn test:debug

Lint

yarn lint
yarn lint --fix

Cleanup

yarn cleanup

Distribute

Pack

./scripts/pack.sh

Publish to npm.org

./scripts/publish.sh

Generate Docs

yarn docs

đź“– Documentation

About

:construction: Work in progress: JavaScript SDK for interacting with Cardano, providing various key management options, support for popular hardware wallets

https://input-output-hk.github.io/cardano-js-sdk/

License:Apache License 2.0


Languages

Language:TypeScript 76.8%Language:Nix 19.5%Language:Shell 2.2%Language:JavaScript 1.3%Language:Dockerfile 0.2%Language:HTML 0.1%