frozeman / tools-lsp6-signer

Allows to sign an LSP6 `executeRelayCall()` calldata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

πŸ‘€ πŸ§‘β€πŸ«

About

Allows to sign an LSP6 `executeRelayCall()` calldata

License:Apache License 2.0


Languages

Language:TypeScript 100.0%