@decentro-dev/polkadot-sufficient-assets
v0.0.8
Published
polkadot-sufficient-assets
Downloads
989
Readme
Polkadot-Sufficient-Assets Monorepo
Polkadot-Sufficient-Assets UI Library is a developer-friendly tool that simplifies the process of building asset transfer functionalities within the Polkadot ecosystem. The library supports two types of transfers: same-chain transfers and multi-chain transfers via XCM (Cross-Consensus Messaging). Developers only need to configure the assets and chains to quickly integrate asset transfer features into their applications.
Prerequisites
Before using the library, ensure you have the following installed:
- Node.js: v20.6.0 or higher
- pnpm: v9.1.1 or higher
If you don't have pnpm installed, you can install it globally using npm:
npm install -g pnpmInstallation
Once the prerequisites are installed, navigate to the root directory of the project and run the following command to install the necessary dependencies:
pnpm installGenerate papi descriptors
To generate the PAPI descriptors required by the library, run the following command:
pnpm papi:generateRunning the Example Website (Development Mode)
To start the development server and test the website, use the command below:
pnpm devThis will start all packages and expose the application at http://localhost:5173/ in your browser.
With Docker Compose
To run the mini apps with docker compose, run the following command:
docker-compose -f docker-compose.yml up -dRunning the Documentation Website
pnpm dev:web