Skip to content

Tyrese-BlockWarrior/Gin-Truffle-DApp

Repository files navigation

Gin-Truffle-DApp

Ethereum Certificate DApp built using Gin, Solidity & Truffle.

🛠 Built With

Go Gin Solidity NodeJS Truffle Bulma

⚙️ 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 .

Or create an executable

go build -o build/

Run the executable

./build/gin-truffle-dapp

📜 License

Click here.

🎗️ Contributing

Click here.

⚖️ Code of Conduct

Click here.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published