nova is not installed, install with:``` bash
npm install @mynthai/nova
```
Or run without installing via npx (replace all nova usage with
npx @mynthai/nova)
-j/--json or -t/--toon (never parse humanoutput).
0 success, 1 error)status (ok or error)error.message and error.exitCode (if present).send, withdraw):nova config get network.withdraw).
send is non-idempotent:nova send blindly.nova -t balance (safe).claimUrl as a secret credential:export operations.nova login (email + verification code).back up:
nova export keynova export phrasenova operates on mainnet or testnet.testnet.network.
Commands:
nova config get network
nova config set network <mainnet|testnet>
0 = success (still parse status).1 = error (inspect error.message).-j, --json-t, --toonRequest login code:
nova login request <email>
Confirm code:
nova login confirm <code>
Options:
-j, --json-t, --toon-f, --force (request only): overwrites existing private-keywallet; warn user.
Address:
nova address [blockchain]
mynthbasecardanohyperliquidmynthplasmasolanastablesuitronBalance:
nova balance
Notes:
balance is USD-denominated.currency is always USD.nova send <amount> [destination]
Options:
-d, --dry-run — Validate and preview without submittingBehavior:
destination omitted:claimUrl)destination provided:destination may be:(network-dependent).
Rules:
--dry-run (-d) to validate inputs and preview withoutsubmitting.
destination is an email address orwallet address before execution.
Post-check:
status and confirm result.sent: true.result.txId when present.claimUrl present, treat as secret.Success example (TOON):
status: ok
result:
sent: true
amount: "1"
txId: d32c966fd4302673455eb790b66e3efc331ef7aace412c73b8917ba0bb37ace8
claimUrl: "https://preview.mynth.ai/c/mto3M1JEa6Hr0UFRCBGjOg"
Properties (when nova send has no destination):
wallet).
nova withdraw <amount> <stablecoin> <address> <blockchain>
Options:
-d, --dry-run — Validate and preview without submittingRules:
status.result.txId when present.Verification (safe):
nova -t balance
Mainnet:
base: USDCcardano: USDC, USDA, USDMhyperliquid: USDCsolana: USDC, USDTstable: USDTsui: USDCtron: USDTTestnet:
base: USDCcardano: USDC, USDA, USDMhyperliquid: USDCsolana: USDCstable: USDTsui: USDTtron: USDTamount.
gets full amount.
If rate-limited, structured output indicates an error and includes a
message like: “Rate limited. Try again in N seconds”.
Rules:
send blindly after a rate-limit error.send executed, verify via nova -t balance.Error example (TOON, insufficient balance):
status: error
error:
message: 3tkv5qrm43jtjf86x3ks5l6jpjgpyw7n8424pm must have at least balance of 1000000
exitCode: 1
Export:
nova export key
nova export phrase
Import:
nova import key
nova import phrase
Rules:
共 1 个版本