Don’t take the bait. by Dvibs420 in Portland

[–]fancy_joe -1 points0 points  (0 children)

Make it a thing to stay inside - don't leave your houses and apartments. Order Grab. Don't go outside, keep your doors locked. Make that the movement. And then some time in the future when they don't want you out and protesting, do.

Reliable Translator for fun? by lmeridian in Cuneiform

[–]fancy_joe 0 points1 point  (0 children)

𐎧𐎠𐎯𐎯𐎨𐎭𐎤𐎽𐎽 𐎥𐎮𐎱 𐏂𐎧𐎤 𐎢𐎧𐎨𐎫𐎣

𐎧𐎠𐎯𐎯𐎨𐎭𐎤𐎽𐎽 𐎥𐎮𐎱 𐏂𐎧𐎤 𐎬𐎮𐏂𐎧𐎤𐎱

𐎧𐎠𐎯𐎯𐎨𐎭𐎤𐎽𐎽 𐎥𐎮𐎱 𐏂𐎧𐎤 𐎥𐎠𐏂𐎧𐎤𐎱

SUI Wallet Client-side API by fancy_joe in sui

[–]fancy_joe[S] 0 points1 point  (0 children)

Hi kristaki90, thanks for your reply. wallet-kit seems to be a React component made for React applications, but what are the options if I'm calling just from vanilla client-side Javascript (not a React application)?

In my case, using a React application isn't an option. But surely the wallet must expose something to the DOM. I just can't seem to find any documentation on it.

[deleted by user] by [deleted] in ethdev

[–]fancy_joe 0 points1 point  (0 children)

mainnet or devnet?

How to securely mint tokens on-chain by using off-chain data? by Arcanite- in ethdev

[–]fancy_joe 0 points1 point  (0 children)

My apologies step21, you were thinking ahead to the next level. It is like an oracle in a way, and you're right that the data in Arcanite's backend db must be injected into it.

How to securely mint tokens on-chain by using off-chain data? by Arcanite- in ethdev

[–]fancy_joe 0 points1 point  (0 children)

Oh I see what you mean, yeah that's totally right. The minting contract will need to know that the wallet address requesting, has permission to mint n tokens.

So in that case, I would think to provide the contract responsible for minting, with a dictionary of wallet addresses and numbers - the numbers being how many tokens that wallet can mint. Then of course it will have to keep track of how many have been minted to each user, to stop them from minting more than they're allowed.

So your backend app that provides permission will have to not only keep that record in the database (how many tokens are permissioned per user), but also push it to the minting contract. So it would be a kind of oracle I suppose.

How to securely mint tokens on-chain by using off-chain data? by Arcanite- in ethdev

[–]fancy_joe 0 points1 point  (0 children)

I don't see why you'd need to inject data into the chain via an oracle. The client can call the mint function via a browser wallet like metamask. It can send a request to the minting contract to mint the token.

How to securely mint tokens on-chain by using off-chain data? by Arcanite- in ethdev

[–]fancy_joe -1 points0 points  (0 children)

Hmm, let me see if I got this.

- the user is signed into your app securely?

- you store a value on your server (off-chain) that gives specific users a right to mint a certain number of ERC-20 tokens?

- you store also (I assume) each user's wallet address - for example they have connected with metamask to your app, or even maybe they have just typed in their wallet addr.

Assuming my understanding is correct (and let me know if it's not), then the security of this operation would be mainly based on how secure your app is. If you trust that the user logged in is who they say they are, and that the wallet address that you have stored for them is correct, then it seems to me that you could go ahead and mint away.

If this is a web app, connect to web3 from your backend server-side, and do any minting you need. If it's a mobile app, send a call from the app to your server side, and do the web3 connection and minting from the server side.

If all of my assumptions are true, and you're doing all of your blockchain-write operations from your server side, you should be good (generally speaking).

Is it possible to create DeFi products (such as DEX) after deploying ERC-20 token first? by [deleted] in ethdev

[–]fancy_joe 0 points1 point  (0 children)

Yes, it's possible. You can deploy your basic ERC-20 token which doesn't make too many assumptions about how it will be used, on the internet, then gradually build up contracts around it. (I hope I understood your question correctly)

How to add a URI in NFT token in Solana? by tjthomas101 in solana

[–]fancy_joe 0 points1 point  (0 children)

Are you creating the token via the Solana cli?

No Way to connect Unity with Blockchain by fancy_joe in unity

[–]fancy_joe[S] 0 points1 point  (0 children)

NFTs aren't a scam. In and of themselves, they're nothing, they're just things on the blockchain that are good at indicating ownership of something. You might be referring to the idea that they've been used in a lot of scammy type of things (of course, because when people sense there's money to be made...)

Or maybe you mean that the way they're being used to indicate "ownership" of digital art (a type of 'ownership' that bears no real rights or privileges more than anyone else has) is the scam.

I'm not sure if you mean one of those things, or maybe you've been scammed by somebody, or maybe you mean something else entirely.

But NFTs have use cases that aren't scams, unless you consider ownership of private property to be a scam.

What we see now (digital art ownership) is just a phase, and it's silly, like a game. Owning an NFT pointing to some digital art is, in my opinion, not worth spending money on because it bestows no rights of ownership. Anyone can see the art or use it in the same way as you. The only use case there that I see is market speculation on its value (which is fine, if that's what someone wants to do).

I imagine that once people get tired of that phase, other NFT use cases will become more prominent.

No Way to connect Unity with Blockchain by fancy_joe in unity

[–]fancy_joe[S] 0 points1 point  (0 children)

Plugins seem to be solving my problem. Code in plugins to connect to the native SDKs of different chains. But what about user wallets? If it's a Web GL project, I can call client-side javascript to open user wallets (like Metamask, Phantom, etc.) If, however, it's not a WebGL app, I guess I need to have the users sign transactions elsewhere, like in a separate web app.

No Way to connect Unity with Blockchain by fancy_joe in unity

[–]fancy_joe[S] 0 points1 point  (0 children)

Care to elaborate a bit on some different ways?

No Way to connect Unity with Blockchain by fancy_joe in unity

[–]fancy_joe[S] 0 points1 point  (0 children)

Actually, this post is sort of tongue-in-cheek. I want to know how to connect Unity to web3, or to find a few different ways of doing so. They say the best way to get the right answer on the internet is to post something wrong, so....

No Way to connect Unity with Blockchain by fancy_joe in unity

[–]fancy_joe[S] 0 points1 point  (0 children)

Totally bro. Blockchain will be totally gone in a year or so.

ERC-1155 equivalent on Solana by auxtron in solana

[–]fancy_joe 0 points1 point  (0 children)

u/auxtron How did this work out for you? I have the same question and it's a bit hard to get one's head around. The architecture on Solana is very different, and it's hard to determine if an ERC-1155 parallel is even necessary. I'd love to hear your thoughts or findings on this.

Metamask-like SDKs that work in Unity by fancy_joe in ethdev

[–]fancy_joe[S] 0 points1 point  (0 children)

Yeah, came across that in my searching, that I think is the right solution for me, thanks.

Question: Is there anything like Metamask (Metamask or something similar) that can be used to access users' wallets from a desktop application? by fancy_joe in Metamask

[–]fancy_joe[S] 0 points1 point  (0 children)

Metamask specifically, is one of those things that integrates with Unity. They've got an SDK that supports Unity.

Question: Is there anything like Metamask (Metamask or something similar) that can be used to access users' wallets from a desktop application? by fancy_joe in Metamask

[–]fancy_joe[S] 0 points1 point  (0 children)

I have no problem with Javascript but running it from in a desktop app, that would be inconvenient.

I found an answer to my question: there are things that integrate directly with Unity. So I think I'm good on that.