Bitcoin Forum
June 18, 2024, 10:29:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: A fully decentralized marketplace on: May 03, 2024, 01:45:47 PM
Well, at least in other places of the web such a decentralized marketplace is already a reality?

Check BlockAze for example. It encodes all listings and market acticity fully on the Bitcoin blockchain and is active right now.

Here is its source repository:

https://git.tchncs.de/BorealUS/blockaze

You can find tutorials on YouTube or its full manual and code in the above link. It currently forgoes escrow in favour of a trust/ranking system.

I think it fulfills almost all criteria here and is actively used / maintained. Due to its emerging popularity it's API has been
added on https://moofetch.mooo.com, next to other established tools like Fulcrum SPV.

Interesting thing. Not exactly what i mentionned tho. This requires running a client and connect to peers.
2  Bitcoin / Development & Technical Discussion / Re: I need help to generate my own key pair on: May 03, 2024, 10:59:43 AM
You complicate your life because there are open source Bitcoin softwares to use

Bitcoin Core, Electrum and more.

[General] Bitcoin Wallets - Which, what, why?

You can use the wallet software to create your wallet, backup, and use it to store your bitcoin.

[GUIDE] How to Safely Download and Verify Electrum


Thanks for the documentation. I'm checking it out rn.
How to keep my DCA going on when migrating to a cold/paper wallet ? Do i still have to buy through a CEX manually every week ?
3  Bitcoin / Development & Technical Discussion / I need help to generate my own key pair on: May 03, 2024, 09:42:53 AM
As a Newbie, i DCA-ed BTC for the past 6 months on Binance Shocked
I don't want to use any CEX no more. I want my keys.
So based on internet articles and a bit of chat-gpt  Shocked i could generate my key pair locally as follow:

Use secp256k1 elliptic curve to generate a priv key:
> openssl ecparam -genkey -name secp256k1 -noout -out privatekey.pem

Find matching pub key on the curve:
> openssl ec -in privatekey.pem -pubout -out publickey.pem

Derive an address in python:

from ecdsa import VerifyingKey
import hashlib
import base58

def generate_bitcoin_address_from_public_key(public_key_bytes):
    public_key = VerifyingKey.from_pem(public_key_bytes)

    # Hash the public key
    hash_pubkey = hashlib.sha256(public_key.to_string()).digest()
    hash_pubkey_ripemd160 = hashlib.new('ripemd160', hash_pubkey).digest()

    version_byte = b'\x00'
    hash_pubkey_with_version = version_byte + hash_pubkey_ripemd160

    checksum = hashlib.sha256(hashlib.sha256(hash_pubkey_with_version).digest()).digest()[:4]

    binary_address = hash_pubkey_with_version + checksum

    bitcoin_address = base58.b58encode(binary_address).decode('utf-8')
   
    return bitcoin_address

with open('publickey.pem', 'r') as file:
    public_key_pem = file.read()

bitcoin_address = generate_bitcoin_address_from_public_key(public_key_pem.encode('utf-8'))

print("Bitcoin Address:", bitcoin_address)


This got me the following:

-----BEGIN EC PRIVATE KEY-----
MHQCAQEEIDRd6/hvSUmI3jubQv+FEve/bkPRBi4d4ddCKf1Cdz8yoAcGBSuBBAAK
oUQDQgAEr6/Q3oyxMl6Fourug/AVW2a/WyrhoGDPP0iXBPp2rEKSRF+p1G5DL7BL
gFsOOBN/U0IT3iiw7agk/DCTxEO0wQ==
gFsOOBN/U0IT3iiw7agk/DCTxEO0wQ==
-----END EC PRIVATE KEY-----

-----BEGIN PUBLIC KEY-----
MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEr6/Q3oyxMl6Fourug/AVW2a/WyrhoGDP
P0iXBPp2rEKSRF+p1G5DL7BLgFsOOBN/U0IT3iiw7agk/DCTxEO0wQ==
-----END PUBLIC KEY-----

Bitcoin Address: 12XjArifNjhfNWDo5MBZaBMXjyYVVbVgxZ

So, did i do the correct thing ? Is it safe to transfer my BTC to an address generated this way (not this one ofc)
Or is there a better way to do it ?

Also keys seem to be base64 encoded, should i save it in another form ?

Thnaks in advance.
4  Alternate cryptocurrencies / Service Announcements (Altcoins) / The Bold Game on: May 02, 2024, 11:10:16 AM
In my attempt to learn blockchain development, i had the idea of The Bold Game
This is really simple : a deadline is set ( 1 Jan. 2025 )
By the deadline, the highest bidder will get the whole pool.

So i'd like to hear your feedbacks guys, you can try The Bold Game on the testnet:

https://theboldgame.tiiny.site/

And review the contract's code on my dedicated GitHub: https://github.com/boldfi/theboldgame
I didn't really pay much attention to the front-end development. However, I am interested in your feedback on the contract code.

Here is the contract in explorer: https://testnet.bscscan.com/address/0x836564b8fc6a47a1d32ff05352371b7a0bc5e8ad

Also what would you think about migrating to mainnet. If so i'd like to find a way to make it a BTC-game, for development purposes i deployed it on BNB chain.


Could it be a cool game ?
5  Bitcoin / Bitcoin Discussion / Re: How has Satoshi's identity never been revealed ? on: April 30, 2024, 02:53:56 PM
Do you really thinks no one is interested to find out who Satoshi Nakamoto was? And you think probably because they don't have enough resources? I don't think so because it could be that the data they would have used in tracing his identity is no longer available.

Maybe the data is no longer available. But it not easy to completely erase data. Formatting an HDD doesn't make data unavailable. Experts can retrieve the data. Satoshi probably knew how to totally destroy data, but it seems strange to me that all the services he relied on, such as the mail provider, or the domain name registrar, have had their data erased in a proper manner.
I remember a documentary showing how specialized unit could retrieve some sensible data from a HDD that had been 0-filled and physically damaged, by rebuilding pieces of pieces of data from magnetic residues, along with forensics investigations. Crazy thing.

Mail provider, domain registrar, web hoster. They probably could retrieve the IP that registered the domain / created the email ... by employing experts into data retrieving and search for days into old HDD.

So i guess with enough ressources it would be possible.
6  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 30, 2024, 01:59:40 PM

If you do think that decentralized marketplace will be interesting, become popular and generate revenue, then do it, no one stops you from that, I am just stating my opinion about it.
I think that lots of infrastructures are using buzzword decentralization for marketing purposes, like they use the word AI (Artificial Intelligence) and Blockchain technologies.

Okay, let's say that decentralization offers privacy, the seller still knows your name, the post company and the delivery guy still knows that you are receiving an item and if decentralized marketplace is using Cloudflare, then CF also knows it too.
I think that eBay or Amazon doesn't experience server downtime, at least I have never had an issue and I was always able to shop, so, I wouldn't say that this is the benefit of decentralized marketplace, it's in a neutral side.
Censorship resistance in marketplace is not a bad thing because people are willing to sell illegal things if it gives them a good profit.
Again, it doesn't offer increased accessibility. I and everyone can easily access eBay or Amazon.

Thank you too for your opinion, arguing helps us to find a good problems and solutions.

While eBay and Amazon may not experience downtime, they do censor. These are lobbies-influenced markets.
Several cases of product's removal have been reported.

Amazon promotes products which fit the "right-thinking trend". Go on and try to sell a product containing too much plastic, its visibility will drop to zero, getting overtaken by woke products.
Of course i do exaggerate, but you get the idea.

Big techs are lobby-driven and always follow trends to sell more, censorship is real on those platforms. Not to mention your data are being stored, analyzed and sold to feed some other big tech..
I do not care about my delivery guy knowing i ordered a package on the weekend. I do care about Amazon knowing what exact reference i ordered at what time, while doing what..

If you are ok with those practices, a decentralized marketplace may indeed not fit your needs.
7  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 30, 2024, 11:45:23 AM

Decentralization is not a human nature. By creating a decentralized marketplace, you are trying to bring anarchy in social animals, it doesn't work that way because humans, i.e. social animals, always try to team up, group together and centralize the power. Over time, that will happen to decentralized marketplace.

If it's not for average users and only for crypto-enthusiasts, then it will still be very hard to keep it alive. Number of crypto enthusiasts is low, the number of those who are paranoid about their privacy, is super low. If number of your customers will be super low, then there won't be enough goods placed on your decentralized marketplace, so it will eventually die and people will be forced to use eBay & Amazon.

Also, I don't get it, why are some people so paranoid about their privacy? I sometimes think that some people work online and never go out to protect their privacy or if they go out, they were hoodie and dark sunglasses. Doesn't make sense.

I understand your point of view. But i still think such a market would be interesting for a lot of people.
Lot of online industries are now heading toward decentralization architecture, and i don't think e-commerce will be an exception.

Decentralization offers so much benefits ( even if you don't seem interested by it ) such as privacy, server downtime and censorship resistance, increased accessibility... that i don't think the old, simple client/server infrastructure will still be relevant in 10 years.

I may be wrong tho, your feedback is appreciated.
8  Bitcoin / Bitcoin Discussion / Re: How has Satoshi's identity never been revealed ? on: April 30, 2024, 11:36:04 AM
Wow lot of opinions. I personally believe Satoshi's identity has been carefully planned to remain unknown when he thougth his plans. But we gotta be real and say no one is anonymous online nowadays.
Using 20 VPNs in sequence along with Tor from a cybercafe won't change nothing. If someone really wants to find you and has enough ressources, he will.

So i guess Satoshi's anonymity is partly due to the fact that he was active way before he became known -- and potentially searched --
Also no one wants to engage so much ressources and money just to find him, but with an unlimited amount of money he could probably be found.
9  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 29, 2024, 03:05:54 PM

Fully decentralized marketplace? Seizure resistance? How? How can it be a seizure resistance if its so decentralized that there is no moderation and people will be able to submit illegal things? By giving absolute freedom, it will turn into a darknet and not a normal marketplace.


In its purest form, with absolute freedom, it would indeed allow anyone to sell anything without restrictions. If the wrong community gets to know it, it would indeed turn into an unstoppable darkmarket. That's why a governance system is mandatory. One could get a product / seller banned by voting. Enough votes lead to listing erasing. After a first report, the product wouldn't be accessible to anyone until vote ends.
Illegal products wouldn't remain accessible more than a couple hours.

I also pictured some members roles, where most trustable users ( dispute ratio, number of orders ... ) would have more weight in votes, and would moderate the market. They could get a revenue from a dedicated pool even.


At some point we all have shared our personal info with big companies and corporations, it's not a big deal if eBay or Amazon knows my address, I cant hide from DHL and amazon delivery guy Cheesy

I'll be honest and say that decentralized marketplace is a dead project, it will never become a competitor of any online marketplace, it's too complex and clumsy for average user.

This market is not for average users. Its a crypto-enthusiasts dedicated market for those who care about privacy. For some, sharing infos with big companies is a big deal. I do care.
10  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 29, 2024, 08:45:02 AM
I don't think a fee-based upvote system can protect users from scammers who have enough resources at their disposal to artificially inflate their ratings [unfortunately, I can't suggest a better way to deal with such cases]... Would you mind sharing the terms of the smart contracts in an in-depth manner and will everything be fully open-sourced?

Only buyers would be able to leave a feedback on a product / seller, and a seller wouldn't be able to buy its own product. This means a scammer would have to create multiple accounts ( key pairs ), fund each address, place fake orders ( incurring fees ), wait through escrow periods (potentially mandatory for new sellers), and then give each fake orders a positive feedbacks ( fees again ).

I think that's a lot of effort, time and fees, just to scam one or two people and see negative feedbacks appear right after. Someone with enough funds wouldn't even bother doing so. Someone with low funds couldn't.

I think that the terms of the contract still need to be thought through and clearly articulated. The marketplace would obviously be open source.


11  Economy / Marketplace / Re: A fully decentralized marketplace on: April 27, 2024, 01:44:08 PM

Nice! I particularly like the user-friendly frontends idea! However, I'm curious if there would be any drawbacks for opting to this in terms of security or privacy?

Since anyone could create a frontend and publish it, it would theoretically be possible for a malicious actor to open a rogue access point which actually doesn’t interact with the original contract. Though, it would easily be verifiable by anyone, and such access points would rapidly be flagged and remain unused.

Even if some reputable apps and frontends would be deployed, the only way to be 100% sure to never loose access to the market, would be to save the main contract address, and to interact with it directly, or through a front end that runs locally, which is extremely simple.
12  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 27, 2024, 01:15:48 PM
The idea seems attractive, but can it be implemented on the ground?

I mean, for example, suppose I ordered a product from the decentralized market and I am in a distant country. How will the product be delivered to me without knowing some details such as the address? How will transportation and delivery be done? Shipping the product requires knowing the recipient's details and identification.


For digital goods, no need to give any informations, the trade could go on in a fully anonymous way.

For physical products, your shipping address would be ciphered using the seller’s key, ensuring only him would be able to read it. This makes a two parties trade, with only one information shared.

If one doesn’t want to share its delivery address with an unknown —maybe reputed— seller, many ways exist to proceed without giving this informations. The good old escrow service, the package forwarding service, dead drops, public meetings, mailbox master keys, pickup points and so on …

That’s for the purists, the goal isn’t to give 100% privacy — even if anyone could — but to give life to an autonomous, decentralized and users-driven market.

13  Economy / Marketplace / Re: A fully decentralized marketplace on: April 26, 2024, 01:31:59 PM
Like opensea? While it is a marketplace for NFTs, the fee is certainly a big concern but it seems that most of the networks for altcoins aren't that expensive at all. But a time when the demand gets higher especially in the ERC20, the fees are also going to increase together with the demand.
Whilst there are other networks that are being supported for each coin, you can consider that as well that your marketplace is open for different networks and wherever is the customer is confident without having interruption and problems with the fees.

Opensea is one among many marketplace for NFTs. I'm thinking a real marketplace where people meet to exchange good and services against cryptocurrency. Indeed fees would increase when demand increases.
But on low-fees blockchains, publishing a product would cost less than a dollar.
Furthermore, i think fees could actually be leveraged to protect the market against spamming and scams.

How user friendly do you think your platform be? -- not a rhetorical question, BTW

I think one of the biggest challenges of such marketplaces is onboarding users esp seeing what went down with openbazaar. Perhaps, you could think about hitting a middle ground between security and user friendliness? 🤔 (tho im not sure what that is ofc )

I actually misused the forum after my registration and here is my original post, where i talk about user friendliness Cheesy
https://bitcointalk.org/index.php?topic=5494082.0
14  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 26, 2024, 01:12:16 PM
points you mentioned are good, but privacy does not necessarily mean decentralization, and managing a decentralized market will be more difficult than a central market. We value privacy, but it is difficult to find a lot of interest and success in a decentralized market, as the user will need to download the software and manage it, and the process will be slower than central services, and risk Restrictions are lower, especially if all goods are legal.

I understand your arguments.
Though, in the case of a fully smart-contracts powered marketplace, users would not need to install any client. The market would theoretically be accessible from your computer terminal if you'd like to. All that would be required to interact would be to know the 42 contract's address characters, and an internet connection.

In practice, user-friendly frontends could emerged and be hosted on traditional URLs to provide a more intuitive and familiar interface for users.

Actually, an infinite number of UIs may be developed, all connected to the same underlying marketplace. This would make the market highly modular, and accessible to a very broad audience.


About privacy, anyone could order a thousand times, each time with a new identity. On such a market, the "identity" would only be defined by your key pair.
Also, none of your personal information, such as your phone number or last name, would ever end up on leakbase.io or any other shady site.

From my perspective, this represents the pinnacle of peer-to-peer technology, and I find the idea very appealing.
15  Bitcoin / Bitcoin Discussion / Re: How has Satoshi's identity never been revealed ? on: April 26, 2024, 11:58:30 AM
Even with current anonymization technologies, the most prominent cybercriminals/activists get caught.
Yes, the cybercriminals get caught because they are criminals and they do something which harms others while Satoshi Nakamoto made something that has changed the world and that's why he's still safe from anyone's hands.


I totally agree. But Satoshi's technology challenges financial institutions, and I believe they employ the same, if not more, resources to track him as they do to catch criminals. In any case, this story is fascinating.
16  Bitcoin / Bitcoin Discussion / How has Satoshi's identity never been revealed ? on: April 26, 2024, 11:45:28 AM
Hello,

I'm wondering how Satoshi has managed to remain anonymous. Governments and high-level institutions have expressed interest in knowing his identity, and some have even tried to employ significant resources to find him, as evidenced by certain news reports.

However, Satoshi did use an account on this forum, along with an email address. All connections to this forum logged his IP address/user-agent and other digital traces.

His emails also surfaced during Craig Wright's trial. How is it that the email provider does not have IP and other information? Even behind a VPN, I believe that major institutions have the means to request the real IP from the VPN provider.

I don't want his identity to be revealed ! But I'm simply wondering how he has managed to evade the most powerful entities since 2010. Even with current anonymization technologies, the most prominent cybercriminals/activists get caught.

Forgive me if this topic has been covered or if it seems silly to you, but I am amazed by the myth of Satoshi
17  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 25, 2024, 04:17:31 PM
If the goods and services you sell in this market are legal, then what is the reason for making it decentralized? I can understand decentralization in mixers and services that may need to enhance privacy, but purchasing goods and products may be linked to knowing the buyer’s address, which makes it difficult to provide a service of a privacy nature. The market can be implemented for digital products not physical goods.

I see a lot of benefits for such a market.

The market would be accessible 24/7 from anywhere in the world, eliminating the risk of server downtime or IP restrictions that could occur with a centralized market.

Secondly, the market would be crypto compliant, allowing for the democratization of purchasing goods and services with a non-fiat currency.

 I also believe that a community would appreciate the ability to buy products without sharing personal information with big tech companies and large corporations. Whether we like it or not, privacy is disappearing today.

Finally, this would bring to life a market entirely controlled by its users and not by a central authority. Many legitimate services are emerging in a decentralized way, I see utility in it.

Correct me if you disagree. I’m trying to think constructively about such a project.
18  Bitcoin / Project Development / Re: A fully decentralized marketplace on: April 25, 2024, 07:39:47 AM
Thanks for your feedbacks.

DaveF, i was more thinking of pure smart contracts rather than a decentralized p2p client that you have to install + maintain peers.

Maybe i'll try to code a little POC when i get free time.
19  Bitcoin / Project Development / A fully decentralized marketplace on: April 24, 2024, 03:12:51 PM
Greetings,

   Lately, I've been contemplating the feasibility of a fully decentralized marketplace. This marketplace would primarily operate through
   smart contracts, ensuring decentralization and seizure resistance.

   Indeed, all that would be needed to sell and buy on the contract would be the contract' address.
   From that anyone could open its custom frontend access, like an access point.
   So even an 'access point' being taken down, the core of the marketplace would still live somewhere in the wild on the blockchain.

   In the case of physical goods transactions, the contract would encrypt the buyer's home address with the seller's key,
   ensuring that only the buyer and seller could access it.

   To address concerns about scams, sellers could be rated through an upvoting system, and feedback mechanisms could be implemented.

   However, there is one challenge to consider: fees. Any action that involves writing data, such as posting a product for sale or upvoting a seller,
   would incur gas fees. Nevertheless, on blockchains with very low fees, such a decentralized marketplace could still offer significant benefits, in my opinion.

   So i'd like to get your thought and feedbacks of such a market, solely based on smart contracts.  Wink
20  Economy / Marketplace / A fully decentralized marketplace on: April 24, 2024, 02:17:03 PM
Greetings,

   Lately, I've been contemplating the feasibility of a fully decentralized marketplace. This marketplace would primarily operate through
   smart contracts, ensuring decentralization and seizure resistance.

   Indeed, all that would be needed to sell and buy on the contract would be the contract' address.
   From that anyone could open its custom frontend access, like an access point.
   So even an 'access point' being taken down, the core of the marketplace would still live somewhere in the wild on the blockchain.

   In the case of physical goods transactions, the contract would encrypt the buyer's home address with the seller's key,
   ensuring that only the buyer and seller could access it.

   To address concerns about scams, sellers could be rated through an upvoting system, and feedback mechanisms could be implemented.

   However, there is one challenge to consider: fees. Any action that involves writing data, such as posting a product for sale or upvoting a seller,
   would incur gas fees. Nevertheless, on blockchains with very low fees, such a decentralized marketplace could still offer significant benefits, in my opinion.

   So i'd like to get your thought and feedbacks of such a market, solely based on smart contracts.  Wink
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!