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.
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.
