Chainlink
$2.10 -0.03%
LINK · 2w

Irisnet x Chainlink soon?

// Package oracle combines service to achieve decentralized injection from trusted Oracles such as Chainlink to IRISHub Oracle. // Each data collection task is called a feed, and its underlying implementation depends on the service module. // // Feed life cycle It is basically the same as the Service RequestContext (paused, running), and is used to store off-chain data on the chain through Oracle nodes. // In addition, you can only operate Feed through your Profiler account, and you cannot delete it. // // [More Details](https://www.irisnet.org/docs/features/oracle.html) // // As a quick start: // // // input := `{"pair":"iris-usdt"}` // feedName := generateFeedName(ots.serviceName) // serviceFeeCap, _ := sdk.ParseCoins("1000000000000000000iris-atto") // // createFeedReq := rpc.FeedCreateRequest{ // BaseTx: ots.baseTx, // FeedName: feedName, // LatestHistory: 5, // Description: "fetch USDT-CNY ", // ServiceName: ots.serviceName, // Providers: []string{ots.Sender().String()}, // Input: input, // Timeout: 3, // ServiceFeeCap: serviceFeeCap, // RepeatedFrequency: 5, // Repea...
Continue on github.com
Recent news
No posts found