Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

GlobalEthProvider

GlobalEthProvider: { accountIndex: number }

Uses the global web3 provider (e.g. MetaMask) to link an Ethereum address to this identity.

Type declaration

  • accountIndex: number

    accountIdx - (optional) The index of the connected account to use.

Proof

Proof: { proof: string }

Uses a proof to link an Ethereum address to this identity.

Type declaration

  • proof: string

    proof - the signature produced by web3's personal_sign over the string parcel identity = <your identity id>.

Signer

Signer: { signMessage: any }

Uses a wallet (like ethers.Signer) to link an Ethereum address to this identity.

Type declaration

  • signMessage: function
    • signMessage(msg: string): Promise<string>
    • Parameters

      • msg: string

      Returns Promise<string>

Generated using TypeDoc