The Decentralized Library DApp allows users to manage and access books in a decentralized way. Users can upload, retrieve, and manage book records securely on the Aptos blockchain. The back-end logic is built with Move smart contracts, while the front-end is powered by TypeScript.
- Add Books: Users can upload book details to the blockchain.
- Search Books: Retrieve information about books stored on-chain.
- Decentralized Storage: All book records are securely stored on the Aptos blockchain.
- Move Smart Contracts: Ensure secure and immutable storage of book data.
- User-Friendly Interface: Clean UI for easy interaction with the decentralized library.
- Move Language: Handles storage and retrieval of book information on the blockchain.
- Aptos Blockchain: Provides a secure and decentralized system for storing books.
- TypeScript: Used for building the interactive front-end.
- Add a Book: Users can input book details (title, author, etc.) and add it to the blockchain.
- Retrieve Books: Users can search for books using keywords.
- Blockchain Storage: All book data is recorded on-chain, ensuring data integrity and decentralized access.
- Aptos CLI: For deploying and interacting with the smart contracts.
- Move SDK: Used for developing and publishing the smart contracts.
- Node.js & npm: For running the TypeScript-based front-end.
To deploy the smart contract:
Install Aptos CLI.
Update the Move.toml file with your wallet address:
aptos init Add your Account addr here for Deployment library_addr = '0x1c4b961494164959385f8d0154cfeed379200521ab05463eb09e86436447c797' Compile and publish the contract:
aptos move compile aptos move publish