Demonstration showing how audio can be sent over the blockchain.
Play with the live app deployed on kovan network.
Connect to Kovan test network.
Press the Start button and speak. Currently it can only handle messages less than 3 seconds.
Press the Stop button. Listen to your message.
Click "Send to Alice" or "Send to Bob". Approve the transaction.
Wait for the transaction to process.
Click "Check" and the audio should load.
Press the play button to listen to the message.
Clone the repo:
git clone https://github.com/chrontast/BlockAudio.git
cd BlockAudio
Install dependencies:
yarn install
Start frontend
cd BlockAudio
yarn start
In a second terminal window, start a local blockchain
yarn chain
In a third terminal window, deploy contracts:
yarn deploy
๐ You need an RPC key for production deployments/Apps, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx
in packages/react-app/src/constants.js
๐ Edit your smart contract BlockAudio.sol
in packages/hardhat/contracts
๐ Edit your frontend App.jsx
in packages/react-app/src
๐ผ Edit your deployment scripts in packages/hardhat/deploy
๐ฑ Open http://localhost:3000 to see the app
Join the telegram support chat ๐ฌ to ask questions and find others building with ๐ scaffold-eth!