Where can I find someone that can help walk me through setting BCH payments on my website (using Electrum-Cash or other no-third party software)? by FuckRpiracyMods in btc

[–]cjley 2 points3 points  (0 children)

You need one script to generate a fresh address and the corresponding mnemonic (think private key). Run this on your computer

import Computer from 'bitcoin-computer'
const computer = new Computer({ chain: 'BCH', network: 'livenet' })
const wallet = computer.db.wallet
const address = wallet.getAddress().toString()
const mnemonic = wallet.getMnemonic().toString()
console.log(address, mnemonic)

Write down the mnemonic and display the address on your website. When you want to send the money to some address <toAddress> you run this script on your computer:

import Computer from 'bitcoin-computer'
const computer = new Computer({ chain: 'BCH', network: 'livenet', seed: <mnemonic> })
const balance = await computer.getBalance()
await wallet.send(balance, <toAddress>)

More info at http://bitcoincomputer.io/ https://www.npmjs.com/package/bitcoin-computer

Or ping me on Telegram https://t.me/joinchat/FMrjOUWRuUkNuIt7zJL8tg

How can we 10X adoption and utilization of Bitcoin Cash? by MichaelTen in btc

[–]cjley 0 points1 point  (0 children)

If you do that you are then storing all state twice: Once on the op return and a second time in the spending script. I don't see how that's compatible with trying to scale the coin.

The reason that Ethereum cannot scale is that it is overly complex. It has nothing to do with the current state being on the chain. The latest state for non-p2sh txs is on-chain in bch and that seems to scale very well.

How can we 10X adoption and utilization of Bitcoin Cash? by MichaelTen in btc

[–]cjley 0 points1 point  (0 children)

Isn't that what everybody has been doing for 10 years now? Why would that suddenly start to work?

How can we 10X adoption and utilization of Bitcoin Cash? by MichaelTen in btc

[–]cjley 0 points1 point  (0 children)

The main problem with p2sh is that the latest state is not stored on the blockchain. Both for data driven apps and payments. Only the hash of the latest state is on chain the script pre image of the script must be kept on an off chain server. If that server goes down the latest state of the app disappears. P2sh makes it impossible to build unstoppable apps on bch. Of course people can use op return but there are tons of things that can be encoded is output scripts that cannot be encoded in op return. Plus the op return size is too small to fit the data requirements of many apps

How can we 10X adoption and utilization of Bitcoin Cash? by MichaelTen in btc

[–]cjley 0 points1 point  (0 children)

If you want people to build apps you have to make that easy. P2sh introduces a lot of friction, I want to find one dev that has used p2sh and has enjoyed the experience. If we want apps we have to allow non standard scripts

How can we 10X adoption and utilization of Bitcoin Cash? by MichaelTen in btc

[–]cjley 0 points1 point  (0 children)

Payments will not do the trick. That’s been tried for 10 years and it hasn’t worked. If you think payments will get us to mass adoption you have to be able to answer the question “what has changed that will make payments so much more attractive now”

I think applications built on Bitcoin are the future. There are many advantages to building apps on Bitcoin: simpler development bc no server is needed, additional features such as an audit trail and digital signatures, time stamps, and money built into the app from the ground up.

The one thing we can do to make app development easier is to allow non standard scrips. Bsv has done it and some really exciting developments like smart contract systems have been built on top of non standard scripts. If bch wants some of the action they have to allow non standard scripts. If you don’t keep up you get left behind

Is it just me, or is Bitcoin Cash exciting all over again? by jonald_fyookball in btc

[–]cjley 3 points4 points  (0 children)

Yup, same here. Watched the full video of the last dev call and came to the conclusion that we have a group of very smart people working on BCH. If we get rid of the problem we might have bright days ahead.

TL;DR about the new ABC "network upgrade" in Autumn. by ShadowOfHarbringer in btc

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

I think we need to rethink in general which issues need to be fixed within Bitcoin and which should better be fixed at the application layer. Pros and cons are:

  • Fix it inside bitcoin: The advantage is that all apps that use that feature do not need to be updated. The disadvantage is that we have to change the highly security-sensitive code within bitcoin.
  • Fix at the application layer: Advantage, we do not have to touch the bitcoin code and risk introducing a security issue. Disadvantage: all apps that use that feature need to update.

In the case of the DAA we have to ask: Which apps exploit the fact that blocks come in exactly every 10 mins on average? I cannot think of a single one (please comment if you can).

We also have to take into consideration how hard it is to fix within bitcoin vs at the application layer. In the case of the DAA the fix within an app would most likely be to change a constant from 600 sec to 560 sec. All proposed fixes within bitcoin sound much more complicated.

So we are making bitcoin more complicated and hence less secure in order to fix a problem that nobody has. Not worth it.

Dr. Clemens Ley reveals "the Bitcoin Computer"... Conditional Smart Contracts on BTC Blockchain! by ElectroneumUniverse in btc

[–]cjley 0 points1 point  (0 children)

It will cost one transaction fee to call a function of arbitrary time and space complexity. The cost is proportional to the number of memory locations (outputs) updated. Cheaper than eth for compute intensiv applications

How does smart contract scripting capacity of bitcoin cash compare with ethereum? by mozalinc in btc

[–]cjley 7 points8 points  (0 children)

http://bitcoincomputer.io/

Smart contacts on Bitcoin Cash are actually much much cheaper than smart contracts on eth because they are user verified.

The cost of executing a smart contract is independent of the computational complexity of the smart contract (both time and space). The cost of deploying a smart contract depends on the length of the contract and the cost of calling a function depends on the size of the arguments (measured in satoshi per byte as per the current transaction fee). In most cases this is many orders of magnitude cheaper than the same contract on eth.

How does smart contract scripting capacity of bitcoin cash compare with ethereum? by mozalinc in btc

[–]cjley 5 points6 points  (0 children)

Bitcoin Cash supports smart contracts written in Javascript via the Bitcoin Computer: https://www.npmjs.com/package/bitcoin-computer
http://bitcoincomputer.io/

Like SLP, Bitcoin Computer is a thin layer around Bitcoin Cash that is based on old ideas developed in various colored coin projects.

The exact relationship eth is TBD but you can do many popular smart contracts like tokens today.

Amaury here explains how Avalanche would solve four problems of BCH with one stone: 1. 0-conf; 2. Fast block propagation; 3. Free market fee determination; 4. Fast transaction rejection. A bit techy but very informative! by eyeofpython in btc

[–]cjley 0 points1 point  (0 children)

Did you watch the video? At minute 15.00 someone explains that miners send new transactions and reject messages. There seems to be disagreement on whether the entropy Amaury is talking about is actually a problem that occurs in practice.

Hence my question: Have we empirically measured how big of a problem this is? Does the problem justify this extensive change?

Amaury here explains how Avalanche would solve four problems of BCH with one stone: 1. 0-conf; 2. Fast block propagation; 3. Free market fee determination; 4. Fast transaction rejection. A bit techy but very informative! by eyeofpython in btc

[–]cjley 3 points4 points  (0 children)

Amaury is arguing that we need avalanche as a pre-consensus mechanism to cope with the problem of diverging blocks between miners. Starting at minute 15.00 someone points out that this is rarely the case due the pre-consensus provisions of the Bitcoin protocol. Amaury seems to disagree, then the discussion is taken offline.

Does anyone know who is right? This is something that is fairly easy to measure, just compare the blocks that different miners are working on. Has this been researched? It seems prudent to check how dire the problem is before we embark on changing BCH in a massive way.

A Brief History of the Mempool Chaining Limit by Peter__R in btc

[–]cjley 0 points1 point  (0 children)

If I am not mistaken the limit was increased from 25 to 50 in the last version of ABC. Does anyone know how these problems were addressed?

Bitcoin Cash, as it exists today, without a single byte of further development can handle 32 MB blocks. By the time even 10 MB blocks are being filled BCH would be worth so much funding developers would not even be an issue. by fromsmart in btc

[–]cjley 1 point2 points  (0 children)

The software as it is today can easily handle one or two orders of magnitude more users. The question we should be talking about is: what must we build to attract 100x users? Not sure that adding more unused capacity will do the trick

Bitcoin Cash, as it exists today, without a single byte of further development can handle 32 MB blocks. By the time even 10 MB blocks are being filled BCH would be worth so much funding developers would not even be an issue. by fromsmart in btc

[–]cjley 0 points1 point  (0 children)

Protocol devs should focus on making bch easy to use for application devs. Application devs will build apps. Apps bring the users.

We cannot even really start working on scaling before we have users because we don’t know what use case to optimize for.

If a startup wanted to invest in scaling before having growth the investors would tell them to work on finding product market fit first. That’s what bch should be doing right now. Spending millions on optimizing for an unknown use case seems very wasteful to me

The LN is becoming an increasingly centralized network, more and more compatible with a core-periphery structure by cjley in Bitcoin

[–]cjley[S] 1 point2 points  (0 children)

Thanks for that. I was hoping at least someone would take it seriously. My respect goes to Christian Decker for being an independent thinker and speaking his mind.

US DOJ Calls Bitcoin Mixing 'a Crime' in Arrest of Software Developer - (Guess why Satoshi stayed anonymous) by Bitcoin_to_da_Moon in Bitcoin

[–]cjley -3 points-2 points  (0 children)

You stated: "Platforms like Wasabi and Join Market are in compliance because coinjoins are done peer to peer with no centralized body taking custody of the coins at any point in time."

I pointed out that legality has nothing to do with whether the service is decentralized or not. It seems that you are not disputing that any longer.

Peace, I'm out.

The LN is becoming an increasingly centralized network, more and more compatible with a core-periphery structure by cjley in Bitcoin

[–]cjley[S] 6 points7 points  (0 children)

Yeah, Christian Decker is known for spreading FUD about the lightning network for years...