nova is a Node.js CLI tool for easily interacting with stablecoins. It provides simple commands to check balance, send, receive, withdraw, and share funds via claim links.
- πͺ Receive stablecoins
- π° Check balance
- π€ Send stablecoins to anyone for free
- π Generate shareable claim links
- π₯ Withdraw stablecoins to external blockchains
- π Multiple authentication methods
Get up and running in under a minute:
git clone https://github.com/MynthAI/nova.git
cd nova
pnpm install
pnpm linkAuthenticate and start using Nova:
nova login you@example.com
nova balance
nova send 10 friend@example.comUse -h or --help with any command to see detailed usage information.
- Node.js v24 (required)
pnpmpackage manager
Clone the repository and install dependencies:
cd nova
pnpm install
pnpm linkAfter linking, the nova command will be available globally.
βΉοΈ Nova is currently installed from source. If/when it is published to npm, installation instructions will be updated.
Nova supports two authentication methods. You can choose the one that best fits your workflow and security preferences.
Authenticate using your email address. Nova creates and manages a wallet for your account.
- You log in using your email address
- Nova securely manages your wallet
- You generate an authentication token for CLI access
nova login <email>
nova token- New users
- Fast setup
- Users who donβt want to manage private keys
- Simple and beginner-friendly
- No manual key management
- Account recovery via email
- Requires trust in Nova for key management
- Email access is required
Authenticate by importing an existing wallet using a private key or mnemonic seed phrase. All signing happens locally.
nova import key
nova import phrase- Advanced users
- Full self-custody
- Using an existing wallet
- Full control over your funds
- No email required
- Keys never leave your machine
- You are responsible for key security
- No recovery if keys are lost
- Email-based accounts can export their wallet and move to self-custody
- Private-key accounts cannot be converted to email-based authentication
After building, the nova command will be available. The nova CLI
provides commands to manage your account, wallet, and transactions.
nova [options] [command]Use -h or --help with any command to see detailed help.
Login using your email address.
nova login <email>Arguments
emailβ Email address to log in with
Create an authentication token (email-based accounts only).
nova tokenDisplay your account address.
nova addressShow your current account balance.
nova balanceSend funds to another Nova account or generate a claim link.
nova send <amount> [destination]Arguments
amountβ Amount to senddestination(optional) β Recipient email or Nova account address
Behavior
- If
destinationis provided, funds are sent directly to that account - If
destinationis omitted, Nova generates a claim link
nova send 25Example output:
Sent 25 to https://www.mynth.ai/c/MUhW0KzcB1BVxNRicamrRw
Anyone with the link can claim the funds. Once claimed, the link becomes invalid.
- Claim links represent a one-time transferable balance
- The first person to claim the link receives the funds
- Links can be shared via chat, email, or any messaging platform
- Unclaimed funds remain locked until claimed
Withdraw funds to an external blockchain as a stablecoin.
nova withdraw <amount> <stablecoin> <address> <blockchain>Arguments
amountβ Amount to withdrawstablecoinβ Stablecoin to withdraw asaddressβ Destination blockchain addressblockchainβ Target blockchain (required if it cannot be inferred from the address)
Manage Nova configuration values.
nova config get <key>
nova config set <key> <value>Import an existing wallet.
nova import key
nova import phrasekeyβ Import wallet using a private keyphraseβ Import wallet using a mnemonic seed phrase
Export sensitive wallet data.
nova export key
nova export phrasekeyβ Export the walletβs private keyphraseβ Export the walletβs mnemonic seed phrase
Lint the project:
pnpm lintFormat code:
pnpm prettierBuild the project:
pnpm buildThis project is licensed under the terms of the MIT License. See the
LICENSE file for details.