This application is currently experimental status of implementation and should be used at your own risk.
Welcome to the Bagpipes SDK, a no-code platform for Web3 development. Our platform simplifies the creation and management of decentralized applications.
This monorepo contains the core SDK and packages that make up Bagpipes.io, including reusable libraries and components.
Find our docs at: Bagpipes.io Documentation
Check out our live instance at: alpha.bagpipes.io We are still in an experimental stage, so be prepared for bugs
The monorepo is organized using Yarn Workspaces and contains the following packages under the packages/ directory:
- chains-lib (@bagpipes/chains): Shared utilities and helpers for blockchain interactions. This library can be used independently.
- wallet (@bagpipes/wallet): An MVP wallet that serves as a placeholder, built using the Sub Wallet template.
- client: The main web3 no-code builder application that brings everything together.
- Node.js (version >= 20.x.x)
- Yarn (version >= 1.22.x)
Clone the repository and install dependencies:
git clone [email protected]:XcmSend/app.git
cd app
yarn
To start the development server:
yarn dev
This will start the Vite development server, and your application should be accessible at http://localhost:5173.
When making changes in either chains-lib or wallet, you need to rebuild those packages for changes to reflect in the development server.
To build a package after making changes:
Follow these steps to build and run the application locally:
# Build chains-lib
yarn workspace @bagpipes/chains build
# Build wallet
yarn workspace @bagpipes/wallet build
Alternatively, to build all packages at once:
yarn build-workspaces
After building, you do not necessarily need to restart the development server. Vite can pick up the changes if configured correctly.
To avoid manually rebuilding packages and restarting the dev server, you can set up watch scripts to automatically rebuild the packages on changes.
In separate terminals, run:
# Watch chains-lib for changes and rebuild automatically
yarn workspace @bagpipes/chains watch
# Watch wallet for changes and rebuild automatically
yarn workspace @bagpipes/wallet watch
To build the application for production:
yarn build
This will build all packages and the client application.
Bagpipes is licensed under the Bagpipes license. See LICENSE.md for more details.
Feel free to join our Discord community if you need any support or want to discuss ideas:
We welcome contributions! Please read our Contributing Guide to learn how you can help.
Feel free to reach out to us if you have any questions or need further assistance. Happy Bagpiping! 🎉
📂 Repository Structure Overview Here's an overview of the repository structure:
app/
├── packages/
│ ├── chains-lib/ # @bagpipes/chains
│ │ ├── src/ # Source code for chains-lib
│ │ └── package.json
│ ├── wallet/ # @bagpipes/wallet
│ │ ├── src/ # Source code for wallet
│ │ └── package.json
│ └── client/ # Main client application
│ ├── src/ # Source code for client
│ └── package.json
├── node_modules/
├── package.json # Root package.json with Yarn Workspaces
├── yarn.lock
├── vite.config.js # Vite configuration
└── README.md