coral-xyz / xnft-quickstart Goto Github PK
View Code? Open in Web Editor NEW๐ฌ Starter code for building an xNFT
๐ฌ Starter code for building an xNFT
If you add some code, in the dev hot reload mode, the window.xnft is undefined and forces you to exit simulator and enter again to emit the connect event.
It's annoying dev experience!
i have question about this starter template, can i get a wallet instace or anchor wallet instance for make a transaction and send it wit confirm user?
The only issue preventing us from doing that is: expo/expo#21276
Run yarn dev
and get this, the subsequent npx xnft --iframe http://localhost:19006
works (maybe should be && in package.json so the second command doesn't execute if the first fails).
`Starting Metro Bundler
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tom/.npm/_logs/2023-02-23T22_17_08_626Z-debug-0.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
Example here https://github.com/yerinle/xnft-quickstart/blob/d01b5316bd11351d1ac5770651ec25572e5127f5/src/screens/WalletScreen.tsx
Seems useDidLaunch() never returns true, hence publicKeys state is never populated via usePublicKeys()
Context :
Cloned the repo and when running the command yarn dev
ran into this issue which said Operation Not permitted
, it was an issue with my machine but saw some more folks going through the same issue in the discord so thought should mention here.
Solution : Reinstall Watchman and give it permissions, can refer to other answers here
this link (https://docs.xnfts.dev/getting-started/getting-started) link is broken
fixed it in PR #40
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.