Categorygithub.com/happyeric77/golangSolidityOracle
repositorypackage
0.0.0-20210512090305-f7720e1a6d84
Repository: https://github.com/happyeric77/golangsolidityoracle.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Create a central oracle of blockchain by golang

Create a off-chain oracle server and integrate with solidity smart contract

How to use

  1. clone the repo

  2. change the env to .env and fill the info:

// The private key of account
PRIVATE_KEY=
// The INFURA project id
INFURA_API_KEY=
// Deployed smart contract address (which emits the event to request off-chain price data)
CA=
  1. See detail introduction from my blog