Cardano Ogmios TypeScript Client Packages

A Yarn Workspace containing three packages, each published to the npm.org registry:

Development

Install and Build

yarn install && \
yarn build

Run Tests

yarn testnet:up

In another terminal

yarn test

Start Cardano Node and Ogmios Server

mainnet

yarn mainnet:up

testnet

yarn testnet:up

Stop Cardano Node and Ogmios Server

mainnet

yarn mainnet:down

testnet

yarn testnet:down

Start the REPL

mainnet

yarn repl:start

testnet

yarn repl:start --port 1338

Lint

yarn lint

Cleanup

yarn cleanup

Distribute

Pack

./scripts/pack.sh

Publish to npm.org

./scripts/publish.sh

Pkg REPL

yarn repl:pkg