Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coddeys/web3signcontracts
HackFS 2024 | Web3Sign enables decentralized document signing via blockchain.
https://github.com/coddeys/web3signcontracts
blockchain hackfs2024 ipfs
Last synced: 6 days ago
JSON representation
HackFS 2024 | Web3Sign enables decentralized document signing via blockchain.
- Host: GitHub
- URL: https://github.com/coddeys/web3signcontracts
- Owner: coddeys
- Created: 2024-05-17T21:13:40.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-01T21:52:15.000Z (8 months ago)
- Last Synced: 2024-12-20T23:42:07.716Z (about 1 month ago)
- Topics: blockchain, hackfs2024, ipfs
- Language: Elm
- Homepage: https://web3signcontracts.netlify.app
- Size: 281 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How It Works
Step 1: Connect your MetaMask wallet to the browser.
Step 2: Upload the PDF document to the browser's client-storage, IndexedDB.
Step 3: Sign the PDF document with your name.
Step 4: Input the MetaMask address of the other party involved.
Step 5: Use the Lit JS SDK to encrypt the document for secure sharing.
Step 6: Upload the encrypted document to IPFS using the Lighthouse JS SDK.
Step 7: Share the Content Identifier (CID) of the uploaded document with the other party.
Step 8: The other party repeats the process from Step 1 and shares the CID of the newly uploaded document with you.
[HackFS 2024](https://ethglobal.com/events/hackfs2024)
## How to develop
### Installation
```
npm i
```### Run the development server
```
npm run dev
```### Building the app
```
npm run build
```### Envirnoment variables
It is necessary to set the "VITE_LIGHTHOUSE_API_KEY" environment variable in order to upload to Lighouse storage
### Issues
* [ ] Some of the PDFs larger than 1MB are not displaying properly in the preview modal window.
The solution here: [Open base64 encoded pdf file using javascript. Issue with file size larger than 2 MB](https://stackoverflow.com/questions/16245767/creating-a-blob-from-a-base64-string-in-javascript)