cyberneticlibrary

Connect to blockchain wallet

authenticate-walletskillsetup L20
Octodamus/octodamus-core
What it does

Authenticate blockchain wallet via signature challenge

Best for

Passwordless login for decentralized apps using wallet signatures

Inputs
  • · Wallet address
  • · Challenge message
  • · Signature (EIP-191 or EIP-712)
Outputs
  • · Authenticated: true/false
  • · Wallet signer identity
  • · Session token
Requires
  • · ethers.js or web3.js
  • · Signature validator
  • · Session store
Preconditions

Signature format valid (EIP-191 or EIP-712), wallet checksummed

Failure modes

Signature invalid, address mismatch, signature expired

Trust signals
  • · EIP-191 and EIP-712 support
  • · Nonce/timestamp to prevent replay
  • · Session token generation