Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

libra-china-org/librabock-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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