File tree Expand file tree Collapse file tree 1 file changed +30
-12
lines changed
Expand file tree Collapse file tree 1 file changed +30
-12
lines changed Original file line number Diff line number Diff line change @@ -207,15 +207,33 @@ An example contract verifying and consuming anchor feeds onchain
207207
208208The following example shows how to query feed and proof data from DA Layer and submit it to the onchain consumer:
209209
210- <CodeBlock language = " javascript" title = " fetch_and_verify_anchor_onchain.js" >
211- { FetchAndVerifyAnchorOnchainJs }
212- </CodeBlock >
213- <CodeBlock language = " python" title = " fetch_and_verify_anchor_onchain.py" >
214- { FetchAndVerifyAnchorOnchainPy }
215- </CodeBlock >
216- <CodeBlock language = " rust" title = " fetch_and_verify_anchor_onchain.rs" >
217- { FetchAndVerifyAnchorOnchainRs }
218- </CodeBlock >
219- <CodeBlock language = " go" title = " fetch_and_verify_anchor_onchain.go" >
220- { FetchAndVerifyAnchorOnchainGo }
221- </CodeBlock >
210+ <Tabs >
211+ <TabItem value = " javascript" label = " Javascript" default >
212+
213+ <CodeBlock language = " javascript" title = " fetch_and_verify_anchor_onchain.js" >
214+ { FetchAndVerifyAnchorOnchainJs }
215+ </CodeBlock >
216+
217+ </TabItem >
218+ <TabItem value = " python" label = " Python" >
219+
220+ <CodeBlock language = " python" title = " fetch_and_verify_anchor_onchain.py" >
221+ { FetchAndVerifyAnchorOnchainPy }
222+ </CodeBlock >
223+
224+ </TabItem >
225+ <TabItem value = " go" label = " Go" >
226+
227+ <CodeBlock language = " go" title = " fetch_and_verify_anchor_onchain.go" >
228+ { FetchAndVerifyAnchorOnchainGo }
229+ </CodeBlock >
230+
231+ </TabItem >
232+ <TabItem value = " rust" label = " Rust" >
233+
234+ <CodeBlock language = " rust" title = " fetch_and_verify_anchor_onchain.rs" >
235+ { FetchAndVerifyAnchorOnchainRs }
236+ </CodeBlock >
237+
238+ </TabItem >
239+ </Tabs >
You can’t perform that action at this time.
0 commit comments