Skip to content

JavaScript SDK for interacting with Cardano, providing various key management options, with support for popular hardware wallets

License

Notifications You must be signed in to change notification settings

input-output-hk/cardano-js-sdk

Folders and files

NameName
Last commit message
Last commit date
Oct 24, 2023
Aug 20, 2021
Aug 14, 2023
May 19, 2022
Nov 24, 2022
Dec 22, 2022
Oct 24, 2023
Apr 18, 2023
Sep 14, 2023
Oct 24, 2023
Aug 14, 2023
Aug 11, 2022
Oct 19, 2023
Aug 28, 2023
Nov 18, 2022
Oct 20, 2023
Aug 14, 2023
Sep 1, 2023
Oct 22, 2021
Jul 13, 2022
Nov 2, 2022
Aug 19, 2021
Nov 24, 2022
Oct 19, 2023
Aug 14, 2023
Jul 7, 2021
Jul 7, 2021
Sep 26, 2023
Sep 27, 2021
Aug 20, 2021
Jun 17, 2022
Jun 17, 2022
Aug 24, 2023
Aug 24, 2023
May 19, 2023
Sep 26, 2023
Aug 14, 2023
May 31, 2022
May 10, 2023
May 21, 2023
Jan 25, 2023
Oct 24, 2023
Oct 24, 2023

Repository files navigation

Cardano JS SDK

PostIntegration Release


Overview

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

Supported Environments

Packages are distributed as both CommonJS and ESM modules.

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

Getting Started

The GETTING_STARTED guide provides a quick way to start experimenting.

Testing

Development

A Yarn Workspace maintaining a single version across all packages.

System Requirements

Clone

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

Install and Build

nvm install && \
nvm use && \
DETECT_CHROMEDRIVER_VERSION=true yarn global add chromedriver && \
yarn install && \
yarn build

chromedriver is installed by hand as it's version should match the globally installed version of Chrome.

Run Tests

yarn test

or

yarn test:debug

Lint

yarn lint
yarn lint --fix

Cleanup

yarn cleanup

Update Cardano configuration subrepo

With yarn

Requires git-subrepo to be installed.

yarn config:update

With nix

Requires Nix, will install git-subrepo for you.

nix run .#config-update

Distribute

Pack

./scripts/pack.sh

Publish to npm.org

./scripts/publish.sh

Generate Docs

yarn docs

📖 Documentation