Bitcoin Forum
April 25, 2024, 07:13:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 »
1  Bitcoin / Bitcoin Technical Support / Re: Question about P2PKH on: May 09, 2019, 06:45:21 AM
Thank you.

From:
https://bitcoin.org/en/transactions-guide#introduction

Code:
An secp256k1 signature made by using the ECDSA cryptographic formula to combine certain transaction data
 (described below) with Bob’s private key. This lets the pubkey script verify that Bob owns the private key which
created the public key.
2  Alternate cryptocurrencies / Altcoin Discussion / Re: RPC call to Ethereum node on: May 09, 2019, 05:59:49 AM
I am using parity client. I found out the reason. The from_addr and to_addr field needs to be unlocked using the personal_unlockAccount rpc command.
3  Bitcoin / Bitcoin Technical Support / Question about P2PKH on: May 09, 2019, 05:48:41 AM
I read this article in https://en.bitcoin.it/wiki/Transaction

P2PKH uses :
Code:
scriptPubKey: OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
scriptSig: <sig> <pubKey>

scriptSig is supplied by the redeemer. scriptPubKey is from the referred previous transaction.

For example. i send bitcoin to the recipient using the pubkeyHash of the recipient. Because the redeeming condition requires the pubKey and the sig, does it mean anyone with the pubKey and sig can redeem the bitcoin?
4  Alternate cryptocurrencies / Altcoin Discussion / RPC call to Ethereum node on: April 23, 2019, 04:07:18 AM
I want to make a call to Ethereum node using JSON RPC method. On the command line, i use the curl command to call eth_sendTransaction:

Quote
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from":"<from_addr>","to": "<to_addr>","gas": "0x76c0","gasPrice": "0x9184e72a000", "value": "0x0", "data": "0xa9059cbb0000000000000000000000007704169f56d59e0908a4423a943d9ca18e3106b900000 0000000000000000000000000000000000000000000000000000000000a"}], "id":1}' <ethereum_node_ip>:8545

The data field "0xa9059cbb0000000000000000000000007704169f56d59e0908a4423a943d9ca18e3106b900000 0000000000000000000000000000000000000000000000000000000000a"
 is obtained from https://abi.hashex.org/

After issuing the curl command , it got stuck forever.  Do i use the right way to obtain the data field?
5  Alternate cryptocurrencies / Altcoin Discussion / Re: Parity Multisig wallet on: April 23, 2019, 02:19:57 AM
Will mention this beforehand, I neither used parity nor I am knowledgeable of it. However, since you have not gotten any answer yet, I tried googling it and saw their Wiki with this answer:
Parity only allows to watch wallets and interract with them (view and sign transactions, send funds..). It does not allow to create multi-sig wallets.

Also this one which was posted over a year ago:
Currently we only support third-party multisig wallets, and not automatically deploying a new one for you.
You can pick any third-party multisig wallet you trust (those are just smart-contracts controlling the corresponding funds in Ethereum, after all) -- and after deployment you'll be able to add it into the Parity interface.

THis our approach might or might not change in the future.

And an old blog from 2017, Create a Multi-Signature Ethereum wallet using Parity (just to remind you, this is not official from parity)


Thanks. I also found the link http://johnmathews.eu/ethereum-parity-multisig-wallet.html

and this https://medium.com/tomochain/i-hacked-parity-multisig-wallet-ropsten-network-89241af06fd1
6  Alternate cryptocurrencies / Altcoin Discussion / Parity Multisig wallet on: April 22, 2019, 07:53:24 AM
Parity multisig library was hacked in 2017. This is 2019. I suppose it is safe to use parity for sending multisig transaction.

I type parity --help on the command line. I do not see anything that can create multisig wallet.

How do i create a multisig walltet address using parity?
7  Alternate cryptocurrencies / Altcoin Discussion / Re: My Ether Wallet software interface on: April 22, 2019, 07:50:36 AM
Do you mean run the ethereum blockchain as full node and use any personal wallet such as  Jaxx, metamask, and even MEW ?


Lol, why will you need to write a software interface when you can just run the full node of the ethereum blockchain and make use of your own personal wallet in storing of coins and token because I don't think MEW provided any api access to anyone for use, so the best for you to do is to run the full node yourself, you can run the full node on your personal computer so that you don't spend so much money in paying for a droplet online, though you should know that it's going to consume a lot of data bundle and space on your pc.
8  Alternate cryptocurrencies / Altcoin Discussion / Re: My Ether Wallet software interface on: April 12, 2019, 02:47:35 AM
thanks for the highly valued feedback.

i was thinking writing a software interface to access MEW wallet is easy. i could be wrong.

This is a very technical issue and I doubt if any developer would be able to answer such thing that pertains to ether system, you can only succeed in doing this when you work hand in hand with the Ether team or their developer as it requires the use of coding, not sure you will be able to communicate with their system or database without them permitting you and the only way you can gain necessary permission is if you contact them, that is if you can, I have never really looked into the team behind them to see if they can be contacted, otherwise, you may have to jettison such idea.
9  Alternate cryptocurrencies / Altcoin Discussion / Re: My Ether Wallet software interface on: April 10, 2019, 03:42:39 AM
i found this api of MEW

https://www.myetherapi.com/
10  Alternate cryptocurrencies / Altcoin Discussion / Re: My Ether Wallet software interface on: April 09, 2019, 05:03:36 AM
thanks. i will build a software to talk to the wallet created by MEW.

I would like to use My Ether Wallet to manage ethers and erc20 tokens.

Can i write a software interface to talk to my ether wallet ?

For example, a user wants to buy erc20 token, the software processed the request, and then software talks to my ether wallet for the verification of funds.

I read the my ether wallet website , it seems there is no interface.

No such interface for now to create such commands. You might have to build your ethereum wallet from scratch to have such desired features. But before you do, consider its applicability and security
11  Alternate cryptocurrencies / Altcoin Discussion / Re: My Ether Wallet software interface on: April 08, 2019, 09:11:31 AM
I think MEW does not have software interface.

basically it creates a wallet, the wallet can be used by metamask , MEWconnect, hardware wallet.

or write a software to access the wallet.
12  Alternate cryptocurrencies / Altcoin Discussion / My Ether Wallet software interface on: April 08, 2019, 08:45:29 AM
I would like to use My Ether Wallet to manage ethers and erc20 tokens.

Can i write a software interface to talk to my ether wallet ?

For example, a user wants to buy erc20 token, the software processed the request, and then software talks to my ether wallet for the verification of funds.

I read the my ether wallet website , it seems there is no interface.
13  Alternate cryptocurrencies / Altcoin Discussion / Re: How to use plasma EVM on: January 15, 2019, 02:02:11 AM

Thanks for the link. I read it but do not fully understand it.
14  Alternate cryptocurrencies / Altcoin Discussion / How to use plasma EVM on: January 14, 2019, 08:16:10 AM
I run a ganache local testnet. I deploy a root chain contract in ganache, and then build a plasma evm, Then in the plasma evm, i run a geth command to connect to the root chain contract.

How do i write contract that can use the plasma evm?

Thank you.
15  Bitcoin / Development & Technical Discussion / Re: bitcoin wallet master key on: October 05, 2018, 05:30:14 AM
the command `bitcoin-cli dumpwallet walletfilename` shows

Quote
# extended private masterkey: tprv8ZgxMBicQKsPdXHSRpLtX329KK4Phqx3T2dMkiKK427K7yCqUbfK1NtQYdyFSsCsdbv5Emce61p ZY7TFXc3jvxMtPFzChbwxH5g6XCm9e6m

cUGWMsLyd7MBffw6poDHEiDoWXv2aqrHi1RcLSQ7C4yhAQMBdcYs 1970-01-01T00:00:01Z label= # addr=mgYCPhE63MQsB8hd66ZZYEGDZTETf9WrqF
.....
cUPRHPYeTefm566zr4iA5v7uqvwyQg9VqXAQfGqkRC8bGvf3pxSR 2018-04-27T03:58:55Z reserve=1 # addr=mfXfTUL9XRF7jFtruu6z3nxH7oiX7APuQT hdkeypath=m/0'/0'/740'

which one is the xprv key ?
16  Bitcoin / Development & Technical Discussion / bitcoin wallet master key on: October 04, 2018, 05:44:08 AM
Using bitcoin core cli, the getwalletinfo command returns the master key, such as:

  "hdmasterkeyid": "cc4cb4e5b4bfcd3a44570392faba1c43390f2405"

The master key will generate the private key. When i want to back up the key, do i back up the master key or the private key?
17  Bitcoin / Development & Technical Discussion / Re: bitcoin transaction confirmation and mining on: August 28, 2018, 04:59:26 AM

Nope. The set of transaction is hashed and included as merkle root. The merkle root is included in the block header which is hashed again. If you add transactions, the merkle root will be changed and the whole block header will be changed. You can do it, but the block won't meet the target anymore and nodes won't accept it.

very clear reply. Thanks a lot.
18  Bitcoin / Development & Technical Discussion / Re: bitcoin transaction confirmation and mining on: August 28, 2018, 03:45:55 AM
The miner will decide which transaction they wish to include before they even start to mine and solve the block. When they get the block that corresponds to the target, they cannot change any variable in the block or the whole hash will be changed.

Does it mean once the block is mined with transactions, the same block cannot be mined to add new transactions to it ?

Thanks.
19  Bitcoin / Development & Technical Discussion / bitcoin transaction confirmation and mining on: August 28, 2018, 03:31:54 AM
one technical question:

when i send out a bitcoin to the recipient, the transaction is included in a block. The transaction is confirmed by miner.

Is the block fully utilized, as in is its capacity fully used ? For other transaction, is it included in the same block if the block is not full ?

how does miner check which block is the latest, if the same block is being mined to confirm new transactions ?

20  Bitcoin / Development & Technical Discussion / Re: scriptPubKey.size() > nMaxDatacarrierBytes on: August 10, 2018, 08:20:31 AM
the datacarriersize controls the OP_RETURN script size. the small size of 80 is to prevent arbitrary data from getting into blockchain.

in BCH, the size is increased to 220 bytes.
Pages: [1] 2 3 4 5 6 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!