Bitcoin Forum
June 23, 2024, 06:08:06 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: How to start wallet development? on: February 01, 2022, 01:48:57 PM
I've been playing with this rust library recently: https://bitcoindevkit.org It gives a really nice wallet abstraction (create a wallet struct with descriptors, sync balances using electrum, bitcoin-rpc, or other protocols, then generate some addresses, sign psbts, broadcast transactions, etc). There are libraries in most major languages to abstract out the protocol bits and make it easier to write wallets or other software that has to handle transactions. bitcoinj is a popular java library, for example.
2  Bitcoin / Development & Technical Discussion / Re: Building a NFT Game with BTC. Where Do I even start? on: January 20, 2022, 01:26:58 AM
Not NFT-related, but you should check out what zebedee is doing. They're building wallets, APIs, libraries, and services to do lightning micropayments in games. They have a build of CS:GO where you get sats for scoring points in a match and it looks like they're trying to make it easy to integrate into other games/game engines. I'd say go make a game that's actually fun to play (as opposed to a game that serves only as a post-hoc rationalization for the existence of a set of NFTs) and then incorporate lightning micropayments to drive engagement and monetization.
3  Bitcoin / Development & Technical Discussion / Re: Can't NFTs work on Bitcoin? on: January 20, 2022, 01:20:15 AM
First of all, I'd like to confirm that I have the correct technical background of the way NFTs work in my mind. So, let's say Alice wants to sell her digital art (image) to Bob.

1) She hashes her image and announces to everyone that this hash is owned by her.
2) Bob gives Alice an invoice which says she gives the rights of her art from her address to Bob's.
3) Once she announces it, it's Bob's. Now Bob can prove to anyone it's his art and Alice can prove it was her art before she handed it out to Bob.

In order for Bob to upload his now-owned art, he chooses as many NFT marketplaces as possible and uploads the file plus the hash. Any seller can verify it's Bob's and that he hasn't lied.

Let's see how can this work in Bitcoin:

1) Alice creates a transaction containing the hash of her image next to OP_RETURN and the state of her art. (Currently hers)
2) Bob gives Alice his address.
3) Alice creates another transaction which contains the hash of her image and a statement which reveals she wants to give the rights of her image to Bob, revoking her previous transaction rights.

Therefore, people can see where the first transaction of that art was made and follow the spent outputs to reach the current owner.


If you haven't already, you should read up on Single-Use-Seals. Here's a great entry point: https://petertodd.org/2017/scalable-single-use-seal-asset-transfer

RBG Protocol is building a bunch of stuff based on that (and several other) idea.
4  Bitcoin / Development & Technical Discussion / Re: Stablecoin-like open source framework? on: January 20, 2022, 01:13:54 AM
you said "elements", so I'm going to suggest you look at doing it on liquid. You can issue a new asset for your coin, and have your "mint" hold onto the re-issue token for when it needs to print more.
5  Bitcoin / Development & Technical Discussion / Re: Is it possible to convert a Bitcoin Core seed into human-readable format? on: January 19, 2022, 11:12:00 PM
WIF keys are mixed-case alphanumeric. One thing you could do (shamelessly take from yeticold) is convert to cased nato phoenetic alphabet. Lower-cased letter is all lower-case, capital letter is all upper-case, numbers are spelled out (2 == TWO). For example here's an hdseed from a regtest wallet:

cPzhezEaMfyxxZTA8iALDWAyHs5T62hKcwmkQJ6VT8GMX2QWgEaQ

it becomes

charlie PAPA zulu hotel echo zulu ECHO .... ECHO alpha QUEBEC

You have less density than bip39 (you will have one word per character). So it's a lot to write, but you get a lot of built in error correction (if the ink is smudged you can still distinguish alpha from bravo, etc) and it doesnt have the "shared prefix" issues that the bip39 list does. So less density, more readability. Another nice thing is you can just do it with pen and paper and no wordlist.

Just an idea.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!