Link to Eternity
Shorten and immortalize your links, text, and files anonymously on-chain with zkSync Era, making them accessible forever.
- Document Verification: Ensure the authenticity of critical documents by storing them on-chain, making it easy to prove they haven’t been altered.
- Proof of Concept or Idea: Timestamp your unique ideas or concepts, providing evidence of originality at a specified time.
- Permanent Content Sharing: Share important links, texts, or files that remain accessible indefinitely, bypassing traditional web hosting limitations.
- Trustless Data Storage: Store data in a transparent manner where anyone can verify its authenticity without relying on intermediaries.
- Decentralized Archiving: Archive critical information ensuring it’s safeguarded against central points of failure or censorship.
🚀 Quick Start
Use EraLink directly via eralink.netlify.app.
The project is organized into two main directories:
- contracts: This folder houses the Hardhat environment and Solidity contracts which include Paymaster, Text Storage, and Upgradable Contract.
- frontend: Developed using Nuxt 3 and Vue, this directory contains all the frontend components of the application.
- Node v18.x+
- Compile contracts:
yarn hardhat compile
- Contracts deployment:
- Set the
hardhat.config.tsto choose the deployment network.
.envand enter the private key for the wallet that will handle contract deployment fees. Ensure this account has sufficient ETH.
- Deploy Text Storage and Upgradable Proxy:
- For Paymaster deployment, update
/deploy/deploy-paymaster.ts, then run
yarn deploy:paymaster. Don’t forget to send some ETH to the Paymaster so it can pay for transactions.
- Set the
.envand fill in
WALLET_CONNECT_PROJECT_ID(create one here) and
WEB3_STORAGE_KEY(generate one here).
- Start in development mode with
npm run dev
- Build for production using
npm run generate
No tests available at the moment 🙁
Resources Used in Development
- zksync-cli: Quick development environment setup including contract templates and a zkSync node.
- zkSync Era Tutorials: Extensive guidance on developing with zkSync Era.
- misfits and magic project: A reference for contracts and paymaster usage.
- My zkExport project: A source of design inspiration.
This project is licensed under MIT.