1.0.5 • Published 1 year ago

warp-signature v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Warp Signature

Warp Signature is a tool to be used in Warp contracts. It allows to sign transactions using non-Arweave wallet. Currently, it is possible to connect to EVM wallet using Metamask plugin in browser environment.

Signing transactions

await this.contract.connect({ signer: evmSignature, signatureType: 'ethereum' }).writeInteraction({
  function: 'function'
});

Signature verification

In order to verify signatures for the given contract, one needs to use EvmSignatureVerificationPlugin while initializing Warp. Plugin will be then fired up when reading contract state and all interactions' signatures will be then verified. If incorrect signature will be detected, contract state will be evaluated without it.

const warp = await WarpFactory.forMainnet().use(new EvmSignatureVerificationPlugin());

Future plans

  1. Expand to NodeJs environment.
  2. Usage of other wallets (e.g. Solana) and plugins.
  3. Add option to deploy contracts using Warp Signature.
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.1-alpha.10

2 years ago

1.0.1-alpha.3

2 years ago

1.0.1-alpha.0

2 years ago

1.0.0

2 years ago

1.0.0-alpha.1

2 years ago

1.0.0-alpha.0

2 years ago