https://github.com/ceramicnetwork/jsonld-eip712-signatures
Experiments with JSON-LD documents and signatures as EIP712 structured data
https://github.com/ceramicnetwork/jsonld-eip712-signatures
Last synced: 8 months ago
JSON representation
Experiments with JSON-LD documents and signatures as EIP712 structured data
- Host: GitHub
- URL: https://github.com/ceramicnetwork/jsonld-eip712-signatures
- Owner: ceramicnetwork
- License: mit
- Created: 2021-07-23T17:29:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-05T04:46:56.000Z (over 4 years ago)
- Last Synced: 2025-01-20T23:06:57.471Z (over 1 year ago)
- Language: TypeScript
- Size: 425 KB
- Stars: 6
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsonld-eip712-signatures
Experiments with JSON-LD documents and signatures as EIP712 structured data
Based on https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/
## TODO
- add tests and code to make sure changing order of properties doesnt affect signature verification
- add did resolver for did-pkh and did-ethr
- use the dag jose util library to put the message schema on IPFS and encode it as a URI
- https://github.com/ceramicnetwork/js-dag-jose-utils/blob/master/src/index.ts#L15
- make demo in ceramic playground
- get rid of ethers.js
- use @ethersproject/wallet for verification