Cryptoace

A web3 etherium based application

A simple, convenient & efficient way to send cryptos across the world and track your every transaction on cryptoace.

Features

  • ? Notifications : Notifications popup for every event
  • ? Responsive Design : Design also suited for small and medium devices.
  • ? Optimized Performance : Performance optimized using lighthouse.

Built With

FRONTEND

  • ReactJS
  • TailwindCSS
  • react-router
  • Ethers

BACKEND

  • Hardhat
  • Ethers
  • Chai

Getting Started

Follow these steps to setup this project locally.

Installation

Below are the instructions to setup this project and get started with.

  1. Clone the repo

    git clone https://github.com/Samrath49/Cryptoace.git
    
  2. Install NPM packages for client and smart_contracts folder

    npm install
    
  3. Generate an API url for contracts and add your url to hardhat.config.js file using Alchemy.io

    // hardhat.config.js file in smart_contracts
     ropsten: {
       url: {/* Your own url of contracts */},
     },
    
  4. Add your metamask account's private key in .env file of smart_contract dir

    PRIVATE_KEY=Metamask account private key 
    
  5. Compile the smart_contracts using

    npx hardhat run scripts/deploy.js --network ropsten
    

    This will compile contracts and provide the addresses of deployed contracts.

  6. Create .env file in client folder and enter the contract addresses as shown below.

    // add your addresses to .env
    VITE_TRANSACTION_CONTRACT=
    VITE_ACE_TOKEN_CONTRACT=
    VITE_TOKEN_SALE_CONTRACT=
    VITE_LOTTERY_CONTRACT=
    
  7. Run the application by running following command in client folder

    npm run dev
    

Acknowledgments

A few open-source resources that helped in the development of this project.

Like the project? Star this repo — It motivates a lot!