/tools-lsp6-signer

Allows to sign an LSP6 `executeRelayCall()` calldata

Primary LanguageTypeScriptApache License 2.0Apache-2.0

lsp6-signer.js ยท GitHub license npm version PRs Welcome

@lukso/lsp6-signer.js

Helper library to sign a transaction

For more information see Documentation.

Getting Started

The @lukso/lsp6-signer.js package is used to sign an LSP6 Execute Relay Call transaction.

This library will add the \x19LSP6 ExecuteRelayCall:\n prefix to a message and sign it.

The LSP6 ExcuteRelayCall prefix is used instead of the standard Ethereum transaction prefix to sign messages so that an executeRelayCall transaction cannot be inadvertently signed when signing an Ethereum signed message.

Install

npm install @lukso/lsp6-signer.js

Setup

import { LSP6Signer } from '@lukso/lsp6-signer.js';

const lsp6Signer = new LSP6Signer();

Contributing

Please check CONTRIBUTING.md.

License

lsp6-signer.js is Apache 2.0 licensed.

Contributors

Magali Morin
Magali Morin

๐Ÿ’ป โš ๏ธ
Fabian Vogelsteller
Fabian Vogelsteller

๐Ÿค”
Callum Grindle
Callum Grindle

๐Ÿ‘€ ๐Ÿง‘โ€๐Ÿซ
Hugo Masclet
Hugo Masclet

๐Ÿ‘€ ๐Ÿง‘โ€๐Ÿซ