@minswap/cardano-serialization-lib-nodejs
TypeScript icon, indicating that this package has built-in type declarations

11.1.0-minswap.27 • Public • Published

How to Build and Use

  1. Update the code.
  2. Add, update, or fix tests.
  3. Run cargo build && cargo test.
  4. Build the Docker image:
docker build -t minswap-csl .
  1. Run Docker Compose:
docker compose up -d --build
  1. Execute into the Docker container to build the Node.js SDK:
# Execute into the Docker container
docker exec -it ${CONTAINER_ID} /bin/bash
# Build Rust
cargo build
# Change directory back to root
cd ..
# Install npm dependencies
npm install
# Build Node.js SDK
npm run rust:build-nodejs
# Exit Docker
  1. The final build is stored on your local machine at ./rust/pkg due to mounting .:/usr/src/app.

/@minswap/cardano-serialization-lib-nodejs/

    Package Sidebar

    Install

    npm i @minswap/cardano-serialization-lib-nodejs

    Weekly Downloads

    114

    Version

    11.1.0-minswap.27

    License

    MIT

    Unpacked Size

    4.13 MB

    Total Files

    7

    Last publish

    Collaborators

    • richardminswap
    • 0xj4m35
    • long.nguyen.minswap
    • tony_minswap
    • parichayzzz