Skip to content

Richard4Zhang/librabock-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Libra

Deploy

Run API Server

export GO111MODULE=on
export LIBRA_MYSQL_URL="DATABASE_USERNAME:DATABASE_PASSWORD@(DATABASE_HOST:DATABASE_POSRT)/DATABASE_NAME" 
# example "root:test@(127.0.0.1:3306)/libra"
go build main.go
./main

Run Block Fetcher

export GO111MODULE=on
export LIBRA_MYSQL_URL="DATABASE_USERNAME:DATABASE_PASSWORD@(DATABASE_HOST:DATABASE_POSRT)/DATABASE_NAME" 
# example "root:test@(127.0.0.1:3306)/libra"

# telegram notify setting
export LIBRA_BOT_KEY=""
export LIBRA_BOT_SECRET=""
export LIBRA_BOT_CHAT_ID=""

go build block_fetcher.go
./block_fetcher

About

LibraBlock.io backend in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%