Mira Docs
SwapArchitectureGraphDesign

🦕 Getting Started

IntroductionProtocolHow to SwapHow to Add LiquidityHow to Create Pools

🤖 Libraries

TypeScript SDKSwap Widget Integration

🐞 Contributing

InstallationPackages
Monorepo Architecture
Trunk-Based Development
Conventional Branch
Conventional Commits
Conventional Comments
Diátaxis Model
Clean Code
Design Systems

📜 Resources

Security AuditsPrivacy PolicyTerms and Conditions
Mira Docs
SwapArchitectureGraphDesign

Packages

Bump the Version

libs/swap/package.json
"version": "0.0.X"
"version": "0.0.1" // ⬅️ Increase this number

Build the Package

Run the following command to build the package using Nx:

pnpm nx build swap

Publish to npm

Navigate to the build output directory and publish:

cd dist/libs/swap
npm login        # Only if not already logged in
npm publish

✅ Make sure you have the correct permissions on the npm registry for @microchain/swap.

Installation

Previous Page

Monorepo Architecture

Next Page

On this page

Bump the VersionBuild the PackagePublish to npm