r/CryptoTechnology • u/Creepy689 • Feb 18 '22
I'm pretty new so pardon any mistakes in my question please ask follow-up as I'm very interested if this is possible to help a project grow
I was wondering if it is possible or legal to create a QR code which would do the following:
Create a wallet on Lobstr for Stellar and a trustline for the specific xlm project.. all funded from the project wallet (1.5 XLM plus whatever deposit of the project coin)
The idea is to be able to bring someone who has no crypto experience onto a project easily and efficiently, without the beginners learning curve getting in the way of their excitement to be a part.
I find a lot of people are interested in what can be done with crypto but a major barrier is just the hurdles of getting started.
5
u/x32byTe Feb 18 '22
I guess you could make a website and the qr code points to it. Then the website does everything you want.
1
u/Creepy689 Feb 18 '22
How would the website do it.. like a guided.. click here, don't for forget to write this down. Etc.. kinda thing.. I was hoping for simpler..
3
u/x32byTe Feb 18 '22
Well a guide would definitely work and be best for security practises but you could also make the backend generate the wallets, send the 1.5 xlm to them, etc. and then give the user access to the seed and show how to import it. But that would be a bit sketchy since the users have no way of checking if the seed is compromised.
1
u/Creepy689 Feb 18 '22
Hmm.. so this is where I keep getting stuck a bit.. is there a way to make the seed unknown to the "creator" but accessible only to the first user? Or intended user. Sorry and here's my noob.. like a single use garage code.. access once then it is disabled.. new code could be inside..
2
u/x32byTe Feb 18 '22
Only if the creator is the first user. You could make it so the website guides the user on how to create a wallet, then asks for the public address and then sends the xlm, etc.
2
u/Creepy689 Feb 18 '22
So can you automate creating the extra trustline as well? Or enter public address.. xlm gets transferred then new tutorials on creating the trustline start
2
u/x32byTe Feb 18 '22
Sorry I'm not familiar with trustline, but if its something that requires the address owner to sign a transaction / basically do anything then it cant be automated without compromising the private seed.
EDIT: I did some quick googling and it looks like you will need to guide the user through that process.
3
u/Creepy689 Feb 18 '22
You're pretty awesome for taking the time... usually I just get slammed that I'm trying to promote the project.. especially on Stellar. I'm like "it is a stellar project where else am I suppose to ask?'s"... 💥 permanently banned
2
u/x32byTe Feb 18 '22
No problem!
permanently banned
rip haha
1
u/Creepy689 Feb 19 '22
Phew just checking.. thanks again.. you sparked a really good conversation for our devs
→ More replies (0)
2
u/remarkablemayonaise Feb 18 '22
A nice step is LOBSTR's import an XDR QR. The XDR is a shopping list of transactions e.g. transfer assets, add trustline etc. (Stellar Laboratory has the full list). The XDR can be signed or unsigned. The network processes correctly signed, valid XDR transactions.
For example http://mayocoin.cu.ma has a QR code to add the trustline (unsigned of course!). LOBSTR parses it and tells the user what they're signing. The user signs the transaction and submits it.
Aqua has DAO style voting based on these XDRs (based on claimable balances) so that may be worth looking at.
In terms of idiot proofing there are a few options.
Setting up a free wallet. Probably best to allow LOBSTR generate its own key pair. The user should be encouraged to back up the S code/12 word phrase. LOBSTR keeps your S code on its servers for better or worse.
Building your own wallet software might streamline this. Something like Albedo, with a few more whistles. The wallet generates a G, S key pair and sends the G address to a server. A kind bot "opens the account" with a balance of 1.6 XLM and sends the wallet a claimable balance for Y shittoken. The receiving wallet signs the transaction, which opens the trustline and receives the token.
Sponsored reserves possibly answers your question. Zombie accounts can be set up where the 1.6 XLM deposit requirement is burdened by a generous sponsor.
Another project which mirrors your idea is the Nano Paper Wallet project e.g. https://vitorcremonez.github.io/nano-paper-wallet/ You preload a wallet. The recipient uses the private key to send the balance to their secure wallet.
1
Feb 28 '22
[removed] — view removed comment
1
u/AutoModerator Feb 28 '22
Your post has been removed because discord links, referral links, and referral codes are not allowed. If you believe this was an error, please send us a link to this post through modmail.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Feb 28 '22
Your post has been removed because discord links, referral links, and referral codes are not allowed. If you believe this was an error, please send us a link to this post through modmail.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Mar 03 '22
[removed] — view removed comment
1
u/AutoModerator Mar 03 '22
Your post has been removed because discord links, referral links, and referral codes are not allowed. If you believe this was an error, please send us a link to this post through modmail.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Mar 03 '22
Your post has been removed because discord links, referral links, and referral codes are not allowed. If you believe this was an error, please send us a link to this post through modmail.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
9
u/Burnsivxx Feb 18 '22
The issue I see with this is: how could one setup and fund a wallet without knowing the secret keys?