Skip to content

Sign a message

Course: Client side apps in Solana, Wallet adapter - chapter 6

Prove ownership of a wallet to a centralised backend. For eg - https://www.tensor.trade/rewards

Ref - https://github.com/anza-xyz/wallet-adapter/blob/3761cd8cc867da39da7c0b070bbf8779402cff36/packages/starter/example/src/components/SignMessage.tsx#L9

  • Install @noble/curves
npm install @noble/curves
  • Coding the SignMessage component
$1b