Git Product home page Git Product logo

blockaudio's Introduction

๐Ÿ— scaffold-eth - Audio over Blockchain

Demonstration showing how audio can be sent over the blockchain.

Play with the live app deployed on kovan network.

How to:

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.

blockaudio1

Installation

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

Contact

Join the telegram support chat ๐Ÿ’ฌ to ask questions and find others building with ๐Ÿ— scaffold-eth!

blockaudio's People

Contributors

2187nick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.