So this is an NFT of an image.
So are you defining NFT's as Art only on Dlux??
Also I am still not sold on this type of NFT without any type of DRM.
There is a lot of talk of having some type of DRM API that sites can plug into.
Example: with NFT's on ETH selling for a ton of money. Twitter (i know, i know, i am not a fan) is working on a DRM system that would check the chain before you can use any of these NFT's for your profile image.
These are things we really need to think about if we are building new systems from the ground up.
or we will be trying to cram them in some time in the future.
We are working on Universal NFT standards to share items between our games so these are things that come up in conversation a lot.
Looking forward to your next post. It is an interesting take on things but I will wait for a better view on it once it is complete.
/api/user/profilepic
where PeakD or any site that wants to can put a blue check next to a profile picture. This is why having a script that runs on server and in browser are so important. Especially for things like DRM, where PeakD might have a token to generate these profile pictures where rando user can not(save resources as well).Thank you for the clarification.
Super exciting.
Do you have the node API's defined yet?
Sorry I have not read through the docs yet. Just doing some info gathering.
We're still trying to see what is needed between the front and backends, but we have some dummy data coming from only at token.dlux.io to help us build
api.get('/api/nfts/:user', API.nfts); api.get('/api/nft/:item', API.item); api.get('/api/sets', API.sets); api.get('/api/set/:set', API.set); api.get('/api/auctions', API.auctions); api.get('/api/sales', API.sales);
Would appreciate your input
When will your API be live for coders to play with?
There is dummy data live right now, trying to see what all we need to make a front end work. You're welcome to play with it... especially if you drop in our discord server and give us feedback.
api.get('/api/nfts/:user', API.nfts); api.get('/api/nft/:item', API.item); api.get('/api/sets', API.sets); api.get('/api/set/:set', API.set); api.get('/api/auctions', API.auctions); api.get('/api/sales', API.sales);
From token.dlux.io or if you run the 'defi' branch of dlux node software
The API will have live data when we make our announcement post.
Here is our working generate NFT client side script.
fetch(`https://ipfs.io/ipfs/${nft.script}`) .then((response) => response.text()) .then((data) => { const code = `(//${data}\n)("${nft.uid}")`; const SVG = eval(code); document.getElementById(`image-${nft.set}-${nft.uid}`)!.innerHTML = SVG; });
@disregardfiat Your comment contains some text that could be a potential attempt to inject malicious code. cc: @cryptosharon
Investigation in progress..
More info: https://hive.blog/hive-139531/@keys-defender/new-feature-code-injections-attempts-detection-xss-sql-injections-csrf
Comment 1% downvoted to make it less visible. This message is self-voted to be more visible among others.
@keys-defender
it's not 🤣🤣🤣🤣🤣
do you have a sample fetch to upload to ipfs.io?
https://dlux-vr.glitch.me/build.html is where a whole bunch of that type of code lives... https://glitch.com/edit/#!/dlux-vr?path=public%2Fimg.html%3A10%3A0 is the Save to IPFS fucntion
how much time is estimated till your announcement post?
2-3 days hopefully. Even if the API is live at that point it will still be under development while we test features
@peakd Guys, this is definitely something to work into the platform.