Hope Wallet SDK
Docs
Node signing
signAndBroadcast with a 24-word PQ mnemonic — server only.
import { addressFromMnemonic, signAndBroadcast } from '@hopenetwork/wallet/node';Throws if window.document exists. Needs unpublished peers @hope/pq and @hope/tx (file: from the Hope wallet repo) until they are on npm.
./node encoder whitelist: MsgSend, MsgExecuteContract, MsgDelegate, MsgUndelegate, MsgWithdrawDelegatorReward, MsgVote, MsgAuthorizeOperator, MsgUpdateNode.
Use @hopenetwork/wallet/node only when your server should hold the mnemonic and broadcast directly:
- cron / relayer jobs
- operator tooling
- hosted-node automation
- private backend services
Do not use it in a browser bundle, public website, or client-side app.
CLI fallback:
hoped tx bank send operator "$PAYOUT" "1000000uhope" \\
--sign-mode pq-direct --chain-id hope-testnet-2 -yFeegrant cannot pay bank sends. Leave a gas reserve on the operator.
Do not put HOPE_OPERATOR_MNEMONIC on this public site. Use a Node process or Docker hoped.
