https://github.com/lab49/web3-hedera-react-india
Hedera dApp, Tokens and Contracts
https://github.com/lab49/web3-hedera-react-india
Last synced: about 1 year ago
JSON representation
Hedera dApp, Tokens and Contracts
- Host: GitHub
- URL: https://github.com/lab49/web3-hedera-react-india
- Owner: lab49
- Created: 2022-08-23T08:40:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T04:54:55.000Z (over 3 years ago)
- Last Synced: 2023-03-03T22:05:02.075Z (over 3 years ago)
- Language: CSS
- Size: 958 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This project is to showcase hedera dApp in React India Conference 2022.
## Scope:
- Create new token
- Create Smart contract
- Connect UI with Hashpack wallet
- Execute smart contract
- Get user's balance
## How to run server:
1. create testnet account from hedera and get account id and pvt key
2. Install packages:
```
cd server
npm i
```
3. Update .env file with your account id and private key
4. To compile solidity smart contract:
```
npm run build
```
5. To create new token and deploy smart contract on hedera test network:
```
npm run start
```
## How to run UI:
1. Install packages:
```
cd client
npm i
```
2. Update constant.js file with your contract id and token id.
3. To start the react application:
```
npm run start
```