Ethereum Certificate DApp built using Gin, Solidity & Truffle.
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 .
Or create an executable
go build -o build/
Run the executable
./build/gin-truffle-dapp
Click here.
Click here.
Click here.