Skip to content

minswap/cardano-serialization-lib

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE-IOHK

Stars

Watchers

Forks

Packages

No packages published

Contributors 37

Languages