A simple and easy-to-use smart contract for storing data on the Ethereum blockchain, written in Solidity.
- Create, retrieve and delete key-value pairs
To use this contract in your project, you'll need to have Node.js and Truffle installed. Then, you can install the dependencies by running:
npm install
The contract is deployed on the Ethereum blockchain, and can be interacted with using the ethers.js
library. You can find an example of how to use the contract in the repository.
You can deploy the contract to the Ethereum blockchain using Truffle. Make sure you have a local development blockchain like ganache running or have access to a testnet or mainnet through a provider like goerli testnet.
This library is open-source and actively maintained, pull requests and issues are welcome.
This project is licensed under the MIT License - see the LICENSE file for details.
- This is a simple and basic smart contract for storage on Ethereum blockchain for educational and small dApp usage and it is not suitable for production use.
- This is not a secure way of storing important and sensitive information.
- This is not a scalable solution for large amount of data storage.
- This contract uses the
ethers.js
library, which is a third-party library and not part of the contract itself.