hacash / service

MIT License
2 stars 6 forks source link

[Clarification Request] 1.2.2. Create a one-way Bitcoin ordinary transfer transaction #1

Open asher-lab opened 3 years ago

asher-lab commented 3 years ago

(1) What does this line mean:

amount [int] The amount of bitcoins to be paid, in units of "satoshi" and "satoshi" (0.00000001 bitcoins); for example, if you transfer 10 bitcoins, you will pass "1000000000", and if you transfer 0.01 bitcoins, you will pass "1000000"; the system does not Bitcoin units below 1 satoshi are supported.

(2) What private key to be used to transfer using API: main_prikey:

 http://rpcapi.hacash.org/create?action=value_transfer_tx&main_prikey=8D969EEF6ECAD3C29A3A629280E686CF0C3F5D5A86AFF3CA12020C923ADC6C92&fee=0.0001&

And

If Hacash then how can we transfer Bitcoin to the address without knowing its key | else if Bitcoin how does 'a bitcoin' transferred into the Hacash Chain? Since the BTC is on a different chain?

jojoin commented 3 years ago

1) Yes, The smallest supported unit is satoshi. 2) First of all, Bitcoin needs to be destroyed by transferring into a black hole before it can be transferred on the hacash chain. Once btc is on the hacash chain, btc can be transferred with the same private key just like hac.

asher-lab commented 3 years ago

The basic technical principle is: in the new system, use the same private key as Bitcoin-the address account generation algorithm, and send Bitcoin from a certain address to a certain technology on the main network of Bitcoin in integers. Anyone can know the "black hole address" of the private key, and then generate a corresponding "transferred bitcoin" in the new system and send it to the original payment account, thus transferring the bitcoin one by one, and can prove it from the technology The scarcity (total amount) of "transferred bitcoins". This process is irreversible, and because the bitcoins are not sent to an account that others can embezzle, there is no trust risk in the whole process.

What does *a certain address to a certain technology on the main network of Bitcoin in integers.** mean? How can the black hole address be determined?

jojoin commented 3 years ago

"black hole address" is on the bitcoin chain, No one knows the private key of this black hole address, Because this address is spliced ​​by technical means instead of being generated with an existing private key, no one knows the private key of this black hole address.

asher-lab commented 3 years ago

How will the Hacash Chain determine that a bitcoin is already destroyed into the Black Hole? Will it recognized the transfer automatically or manually?

jojoin commented 3 years ago

The hacash chain will regularly check the transfer into the specific black hole address, filter out the transfers of integer multiples of BTC, and then generate the same amount of "Hacash BTC" on the hacash chain for those addresses that are transferred to the black hole.