Skip to content

Blockchain data recording using Hedera blockchain and Echo Framework

License

Notifications You must be signed in to change notification settings

ujblockchain/blockchainrecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image info

SARChI

South Africa-Switzerland Bilateral Research Chair in Blockchain Technology aims to explore blockchain integrations with real-world applications and development in Agric food.

Hedera Testnet

Set environment variables for Hedera Testnet using Viper. A testnet account can be created from https://portal.hedera.com/register. Replace "..." with your credentials.

ACCOUNT_ID: ...
PUBLIC_KEY: ...
PRIVATE_KEY: ...
ENCODED_PRIVATE_KEY: ...
HEDERA_NETWORK: ...

Database

Set environment variable for postgres database using Viper. Database connection is needed for Gorm. Replace "..." with your credentials.

DNS: "host=localhost user=postgres password=... dbname=... port=... sslmode=disable TimeZone=Africa/Johannesburg"

Deployment

Follow step by step gist for deployment using: Deployment