2.0.0 • Published 6 months ago

@exodus/message-signer v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@exodus/message-signer

The message signer delegates the unsigned message to the corresponding software or hardware wallet.

Install

yarn add @exodus/message-signer

Usage

This feature is designed to be used together with @exodus/headless. See using the sdk.

Play with it

  1. Open the playground https://exodus-hydra.pages.dev/features/message-signer
  2. Try out the some methods via the UI. These corresponds 1:1 with the exodus.messageSigner API.
  3. Run the below in the Dev Tools Console:
await exodus.messageSigner.signMessage({
  walletAccount: 'exodus_0',
  baseAssetName: 'ethereum',
  purpose: 44,
  message: { rawMessage: Buffer.from('hello world') },
})

API Side

See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.

await exodus.messageSigner.signMessage({
  walletAccount,
  baseAssetName: asset.name,
  purpose: 44,
  message: { rawMessage: Buffer.from('hello world') },
})
2.0.0

6 months ago

1.4.2

11 months ago

1.4.1

11 months ago

1.4.0

11 months ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago