Published On Feb 9, 2023
A series for crypto developers on how to build using Hxro Network SDKs and Solana.
Join our FREE Discord: / discord
Follow Hxro Labs on Twitter: / realhxrolabs
Follow Hxro Network on Twitter: / hxronetwork
Follow Thales on Twitter: / thaleshxro
Links + Notes from Stream
Source Code:
Ready-to-Use Hxro xNFT Repo: https://github.com/cinojosa0705/hxro-...
Requirements:
-Have Node and ts-node installed:
Download Node.js: https://nodejs.org/en/download/
Download ts-node: https://www.npmjs.com/package/ts-node
-Have yarn
Download Yarn: https://classic.yarnpkg.com/lang/en/d...
-Have some prior experience with Typescript (or at least Javascript) and React
-Have installed the Backpack Dev Wallet: https://github.com/coral-xyz/backpack
-Clone the template repo: https://github.com/cinojosa0705/xnft-...
Websocket:
"wss://tickingprice-dev.hxro.trade/ws"
Commands:
Add the Solana web3.js Library: `yarn add @solana/web3.js`
Add the Hxro Parimutuel SDK: `yarn add @hxronetwork/parimutuelsdk`
Armani's xNFT Workshop: • How to Create an xNFT
0:00 Intro
1:00 Setting up Dev version of Backpack Wallet
3:00 What are xNFTs?
4:00 What are Parimutuels?
4:55 Building an xNFT
8:45 Getting data into the xNFT
17:28 Connecting to Solana blockchain
19:07 Connecting to the Parimutuel Protocol
24:03 Using our connections
26:06 Getting Parimutuel data
35:10 Getting the latest Live Contest
37:07 Getting the Data that we want
41:05 Displaying our data in the xNFT
Disclaimer:
This commentary is provided as general information only and is in no way intended as investment advice, investment research, a research report or a recommendation. Any decision to invest or take any other action with respect to the digital assets and/or securities discussed in this commentary may involve risks not discussed herein and such decisions should not be based solely on the information contained in this video. Past performance is not indicative of future results.
2023 Hxro Labs
#crypto #developer #defi