@airmoney-degn/airmoney-cli
v0.25.3
Published
airmoney-cli is a command-line interface tool designed to facilitate the development and management of decentralized applications (DApps) for Airmoney.
Keywords
Readme
airmoney-cli
airmoney-cli is a command-line interface tool designed to facilitate the development and management of DEGN APP for AirMoney.
It simplifies the process of creating, serving, and publishing applications to the airmoney dapp store.
Features
- Setup: Setup your development environment with ease.
- Create: Initialize new projects with standard Web or Native (Rust/Slint) templates.
- Serve: Test your project locally for development and testing on Simulator.
- Build: Cross-compile native applications for AirMoney ARM devices.
- Upload: Package and send your project to the DAPP store.
Getting Started
Installation
Install airmoney-cli using npm:
npm install -g @airmoney-degn/airmoney-cliNative App Development Requirements
To build and package Native Applications, you must have the following installed:
- Docker: Used by
crossfor cross-compilation environments. - Rust & Cargo: Standard Rust toolchain.
- Cross: Install via
cargo install cross --git https://github.com/cross-rs/cross.
Commands
1. Setup
Configure your developer address and API key.
airmoney-cli setup -u <YOUR_WALLET_ADDRESS> -k <YOUR_API_KEY>2. Create Project
Initialize a new project.
airmoney-cli create -N my-appRelease Process
To create a new release:
Bump the version using changesets:
npm run bumpThis will create a changeset and update the version in
package.json.Tag the version with the format
v{version}:git tag v0.23.0Replace
0.23.0with the actual version number frompackage.json.Push the tag to trigger GitHub CI:
git push origin v0.23.0GitHub CI will automatically:
- Build the project
- Publish to npm
- Create a GitHub release
Note: Make sure to commit and push your changes before creating the tag.
