gin-truffle-dapp

command module
v0.0.0-...-2ed1d8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 9 Imported by: 0

README ยถ

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 .

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.

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL