Giter VIP home page Giter VIP logo

etb-esqrow's Introduction

On-chain Escrow Service

Header

To run the project locally, follow these steps.

  1. Clone the project locally and install the dependencies:
git clone [email protected]:burdianov/etb-esqrow.git

# hardhat
cd etb-esqrow
npm install

# frontend
cd frontend
npm install
  1. Start the local Hardhat node
npx hardhat node
  1. While in the root directory, with the network running, deploy the contract to the local network in a separate terminal window
npx hardhat run scripts/deploy.js --network localhost
  1. Copy the contract address from the terminal and assign it to the VITE_CONTRACT_ADDRESS environment variable in the .env file inside frontend directory

  2. Configure .env file inside the root directory:

ALCHEMY_KEY=https://eth-rinkeby.alchemyapi.io/v2/your-alchemy-key
PRIVATE_KEY=your-rinkeby-private-key
  1. Inside frontend directory, launch the project
npm run dev

Deployed website

https://etb-esqrow.netlify.app/

Deployed contract

https://rinkeby.etherscan.io/address/0xEe21CD5d318a6634f840d6F64B4dc6f2ad9DB492

How to use the app

  1. Register as a Seller

  2. Switch accounts and register as a Buyer

  3. Being still in the Buyer role, create an Escrow.

  4. etc...

Technology:

  • hardhat
  • solidity
  • openzeppelin
  • vite
  • ethers
  • tailwind
  • framer-motion
  • recoil

etb-esqrow's People

Contributors

burdianov 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.