A web3 etherium based application
A simple, convenient & efficient way to send cryptos across the world and track your every transaction on cryptoace
- 🔔 Notifications : Notifications popup for every event
- 🔥 Responsive Design : Design also suited for small and medium devices.
- 🤏 Optimized Performance : Performance optimized using lighthouse.
FRONTEND
- ReactJS
- TailwindCSS
- react-router
- Ethers
BACKEND
- Hardhat
- Ethers
- Chai
Follow these steps to setup this project locally.
Below are the instructions to setup this project and get started with.
-
Clone the repo
git clone https://github.com/Samrath49/Cryptoace.git
-
Install NPM packages for
client
andsmart_contracts
foldernpm install
-
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 */}, },
-
Add your metamask account's private key in
.env
file of smart_contract dirPRIVATE_KEY=Metamask account private key
-
Compile the smart_contracts using
npx hardhat run scripts/deploy.js --network ropsten
This will compile contracts and provide the addresses of deployed contracts.
-
Create
.env
file inclient
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=
-
Run the application by running following command in client folder
npm run dev
A few open-source resources that helped in the development of this project.
⭐ Like the project? Star this repo — It motivates a lot!