ðŸ§
Built to explore the fusion of traditional backend logic with decentralized technologies.
Project Overview
Invenger is a decentralized inventory management application that seamlessly integrates Java-based services with the Ethereum blockchain.
- Developed secure data handling with IPFS.
- Architected for efficient blockchain transaction processing.
- Decentralized yet performant.
Tools Used
Technology | Purpose |
---|---|
Java | Core backend logic and services |
JavaFX | GUI interface for inventory operations |
Ethereum | Smart contract deployment and interaction |
Hardhat | Local Ethereum testing environment |
IPFS | Decentralized file storage |
Code Snippet
public void storeToIPFS(String data) {
IPFS ipfs = new IPFS("/ip4/127.0.0.1/tcp/5001");
NamedStreamable.ByteArrayWrapper file = new NamedStreamable.ByteArrayWrapper(data.getBytes());
MerkleNode addResult = ipfs.add(file).get(0);
System.out.println("Stored at hash: " + addResult.hash);
}