Gin-Truffle-DApp
Ethereum Certificate DApp built using Gin, Solidity & Truffle.
๐ Built With
โ๏ธ Run Locally
Clone the project
git clone https://github.com/DEMYSTIF/gin-truffle-dapp.git
cd gin-truffle-dapp
Install truffle
npm i -g truffle
Compile contract
truffle compile
Run a blockchain (ganache/geth/foundry) on port 8545
Deploy contract
truffle migrate
Paste the private key in the '.env' file
Install abigen
go install github.com/ethereum/go-ethereum/cmd/abigen@latest
Generate Go binding for contract
abigen --abi Cert.abi --pkg lib --type Cert --out lib/Cert.go
Start the application
go run .
For live reload, install Air
go install github.com/cosmtrek/air@latest
Run the application with Air
air
๐ License
Click here.
๐๏ธ Contributing
Click here.
โ๏ธ Code of Conduct
Click here.