Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eip-712-types-generation

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eip-712-types-generation

This package serves to generate a Types object compatible with EIP-712 ( https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/ )

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
562
decreased by-7.57%
Maintainers
1
Weekly downloads
 
Created
Source

eip-712-types-generation

This package serves to generate a Types object compatible with EIP-712 ( https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/ )

Usage

Import getEthTypesFromSchema into your project and pass in the message that you intend to sign using EIP-712, including the proof object. This will return an object that can be used as the types object passed into eth_signTypedDatav4

Developing

Simply run yarn to initialize project, then yarn test to test.

FAQs

Package last updated on 24 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc