Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitcoin]

bitcoin is a digital asset and a payment system invented by satoshi nakamoto.

0
votes
1answer
25 views

solidity code warning in remix IDE

I am trying to create a smart contract using the but it is showing warning message in a string "Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. ...
0
votes
2answers
28 views

What are differences between bitcoin and etherum trancactions?

I have read about how transactions work and how they can be redeemed in bitcoin. In a very abstract way, the sender defines the output script that should redeem the transaction. But I am new to ...
0
votes
2answers
34 views

Blochchain Smart Contract App

Actually Im working on a blockchain application based on smart contracts that allows to buy/sell properties and paying in cryptocurrency using Ethereum and Bitcoin. I wonder I develop smart contract ...
0
votes
1answer
27 views

Is the following scenario doable by a smart contract?

I have 2 persons ( say A or B). They want to have the following agreement. Person ‘A’ specify a deposit (x coins ) for user ‘B’ under a certain condition with a future time lock ‘t’. If user ‘B’ ...
0
votes
1answer
40 views

User ether.js mnemonic for bitcoin

I'm using Ether.js for my react native app to create mnemonic. i want use Wallet.fromMnemonic(code, path) to get key pairs but when i send bitcoin Derivation Path i get and ethereum private key which ...
0
votes
0answers
15 views

How feasible it to combine Proof of Work and Proof of Elapsed time consensus to create a custom blockchain?

I wonder if it feasible to create your own custom consensus by combining Proof of Work and Proof of Elapsed time? How would I approach it? Any tools or frameworks to build it? I appreciate all the ...
0
votes
1answer
35 views

timed commitment using ethereum blockchain

I read this paper: https://eprint.iacr.org/2013/784.pdf that introduces the idea of Bitcoin-based time commitment scheme. In which if the commiter does not open his commitment before a specific time ...
1
vote
0answers
16 views

Bitcoin generate Exe file using bitcoin-0.8.1 version [closed]

0.8.1 version and when i compile this version but successfully compiled but now i want to generate the window executable file(.exe) from bitcoin-0.8.1 version. so latest version and older bitcoin-0.8....
4
votes
2answers
724 views

If the hackers of the DAO converted the funds to bitcoin, would it have been possible to return the funds to the investors?

My understanding of the DAO hack is that Ethereum was hard forked so that those who lost funds could have them retrieved. If the hacked funds were immediately converted to bitcoin, would this still ...
1
vote
0answers
12 views

How to get live mempool transactions whitout full blokchain

I just want to analyse all mempool txs in realtime. I cant use an api because after several requests my ip gets blocked for some minutes, so I dont get the txs in this time. Thank you for help.
0
votes
1answer
35 views

Implementation of privacy in blockchain

How can we see transactions in a particular block of Bitcoin, if they are encrypted and only Merkle root of transactions is stored on the blockchain. I think in that way we should be having an ...
1
vote
1answer
190 views

Are uncle blocks unnecessary overhead on blockchain?

I have been learning about ethereum but now am stuck with conflicting thoughts about block times and stale blocks. Here is what I understood, please correct me if I am wrong. Block time for bitcoin - ...
5
votes
1answer
663 views

Differences/similarities of “Bitcoin script” and “Ethereum smart contract”?

Can we compare Bitcoin script and Ethereum smart contract ? And if yes, What are differences/similarities of Bitcoin script and Ethereum smart contract in sense of functionality, architecture and ...
1
vote
0answers
29 views

How can I implement ethereum If I'm making an exchange service like cex.io [closed]

I was wondering how cex.io manages ethereum service on their website. I know what happens with bitcoin. They have 1 wallet and daemon on their server for each coin. for example bitcoin. Then When I ...
1
vote
1answer
150 views

What is the “main” difference between consensus mechanism of Bitcoin and Ethereum?

Bitcoin and Ethereum both use proof-of-work (PoW) consensus mechanism. One of differences between Bitcoin Pow and Ethereum PoW is difficulty level, meaning that while in bitcoin block generation rate ...
1
vote
0answers
81 views

UTXO vs Account scalability paradigms and Merkle proof of ownership

From Ethereum's design rationale: Potential scalability paradigms: UTXOs are more theoretically compatible with certain kinds of scalability paradigms, as we can rely on only the owner of some ...
1
vote
2answers
286 views

Slackness issue and time in smart contracts

At a high level, slackness issue says, it is not possible to guarantee that at any given point in time all honest miners see exactly the same blockchain length [1]. On the other hand, as we know the ...
2
votes
1answer
54 views

Trustless Inter-chain transaction with Bitcoin- are there any flaws?

Let's say that Alice wants to send Bob 1 BTC, and in return Bob will send Alice 1 ETH. Alice's Bitcoin address is BTC_A, and Alice's Ethereum address is ETH_A. Likewise, Bob owns addresses BTC_B and ...
4
votes
2answers
53 views

What is 2^187 target in the Ethereum white paper wrt PoW in Bitcoin?

The paper says that The precise condition is that the double-SHA256 hash of every block, treated as a 256-bit number, must be less than a dynamically adjusted target, which as of the time of ...
1
vote
2answers
173 views

Is it possible to transfer Ether without a contract, like with Bitcoin?

I realised I don't know if Ethereum is exactly like bitcoin with an added dimension (smart contracts), or if there are things that Bitcoin can do "natively" that Ethereum can't. Is it possible to ...
0
votes
1answer
24 views

Is there any website for provide APIs for making transaction to different blockchain such as Ethereum, Litecoin, BTC, Neo etc

I want build a wallet which manages multiple coins and I'm looking for a website which provides APIs for transacting to different blockchains.
1
vote
0answers
30 views

How to fix gas limit issue when doing official Ethereum Tutorial?

I'm trying to work on this tutorial for past three hours and I just don't understand why are there so many holes to do it. https://ethereum.org/greeter It took me forever to figure out what it ...
0
votes
1answer
27 views

What is saved on every block on Ethereum?

In Bitcoin every block has the information about the transaction (A sends money to B, C to D etc). And everytime a new transaction (someone sends money to another address) is sent, the miners will ...
1
vote
3answers
394 views

Is it possible to send/receive Bitcoin using a smart contract?

My Question goes in the sense of what's possible in terms of creating a Dapp that allows to send/receive BitCoin just like it would any other given ERC20 Token. Is this possible to achieve for a Smart ...
0
votes
1answer
44 views

How can I withdraw the bitcoin out?

So I downloaded the Ethereum wallet and installed it. Once I launched it, it started to download the blocks, and I chose to connect with the mainnet. As indicated in the process, I may need to deposit ...
0
votes
1answer
98 views

How to find the largest Ethereum token holders on a given day? [duplicate]

Here is the Bitcoin Rich List. Is there something similar for Ethereum?
0
votes
1answer
287 views

Why is UTXO model better than Account model? [duplicate]

According to this I infer that UTXO is better (or at least more secure) than Account model. The reason why transactions work this way is because it’s an easier and more secure way of doing it from ...
0
votes
1answer
36 views

Where, or how, can I programmatically get a complete history of the major cryptocurrencies?

I would like to programmatically get a complete list of the historical: Number of transactions Average Transaction Fee Hashrate Mining Profitability Difficulty Block Time Block Size related to the ...
0
votes
0answers
136 views

Ethereum Address using bitcoinJ

I am using BitcoinJ library in Android to generate HD wallet addresses for bitcoin and bitcoin-test networks. It is working, code: KeyChainGroup keyChainGroup = new KeyChainGroup(networkParameters)...
1
vote
2answers
120 views

Why is ethereum's mining function is safe as bitcoin's proof of work?

bitcoin's mining time is about 15 minutes while ethereum's mining time is 10 seconds. Is not it bad for ethereum's mining time to be too short? (from security aspect). Why is it so important for ...
0
votes
0answers
40 views

Where should I save bitcoin and fiat currency transactions record to validate when transferring tokens manually or after transferred?

In ICO, while accepting bitcoin or any fiat currency(USD/EURO), which is the best practice to store the transactions record for accepted bitcoins or fiat currency to validate later when transferring ...
4
votes
2answers
284 views

Check that the timestamp of the block is greater than that of the previous block and less than 2 hours into the future?

I am reading the White Paper of Ethereum. And at the Mining Section, I do not understand the this part "less than 2 hours into the future" of the following sentence: Check that the timestamp of the ...
0
votes
2answers
40 views

Block chain in Banking sector? [closed]

Does the concept of mining exist if an application is designed with a blockchain in the banking domain? From what I understand from mining with respect to Bitcoin, the miners keep on creating valid ...
1
vote
2answers
386 views

Do we have an API for airdrop

I am creating an news app which will show the ICO and Airdrop details. Is there is any API for Airdrop news ?
1
vote
0answers
24 views

I to want introduce myself to learn new and advanced technologies like AI, blockchain [closed]

I have completed 2days blockchain executive program two weeks back. Course covers high-level concept on blockchain, ethereum I have around 12+ yrs of IT experience and worked on different tools and ...
0
votes
1answer
192 views

see Ethereum USD value at time of transaction?

on Blockchain.info, when you hover over the value of a transaction, it will actually tell you the value of Bitcoin in USD at the time of that transaction (as well as how much that is worth now) is ...
2
votes
1answer
206 views

Accepting bitcoin during crowdsale and making refund if soft cap not reached [closed]

I'm gonna make some api to allow my crowdsale to accept bitcoin, however I ran into a problem. Because I will make refunds if soft cap not reached. What the best way to refund everything that was ...
0
votes
1answer
104 views

how a transaction is confirmed after all block are mined (newbie)

I'm completely a newbie in crypto currency. There is a question stuck in my head: Fact: - when an amount is sent from me to someone then a transaction is created and broadcasted on network. - this ...
3
votes
1answer
9k views

Hyperledger Vs Ethereum for supply chain management? [closed]

Which is the best blockchain development platform (Hyperledger/Ethereum) for supply chain management?
1
vote
1answer
41 views

How does blockchain and decentralization work?

Does every node or computer keep track of all of every user's transactions every single dollar as a separate unit or do they group together units in transactions? (eg. transfer of 5 dollars would be ...
2
votes
2answers
770 views

How to accept bitcoin and transfer tokens from smart contract to sender ethereum address

I have created sample tokens Smart Contract with the payable feature/constructor, if someone pay from their Ethereum address to Smart Contract will get instant token into their Ethereum address. But ...
1
vote
0answers
28 views

Calculating data amount being mined. Server

Does anyone know how to calculate hardware being used by mining activity on a blockchain? I'm curious what the equivalent hardware usage is in a blockchain. I'm looking for a formula of blockchain ...
2
votes
0answers
45 views

Can I use a Bitcoin client to sign a message with an Ethereum address?

If an Ethereum address is a point on the Bitcoin EC, then one can use the private key that matches that address to sign a message using bitcoin software. I'd like someone to prove they have the ...
12
votes
2answers
2k views

What the difference between Bitcoin and Ethereum private/public keys and address?

I am trying to find a library for creating Ethereum wallets in a web environment (PHP, JS). I found Keytheremjs lib, but if use it in a browser, this tool is very slow. But I found a lot of simple PHP ...
0
votes
1answer
62 views

Why does a mining reward exist?

I understand that there needs to be an incentive for the nodes to be keeping the blockchain up and running by validating blocks, and mining rewards is that incentive. I fail to understand why does ...
0
votes
1answer
73 views

BTCRelay - What incentives do relayers have to submit accurate data?

It's possible I misunderstood how BTCRelay works, but relayers submit block headers to verify from Ethereum that transactions took place in Bitcoin. What prevents relayers from committing fraud by ...
0
votes
1answer
217 views

Is it possible to create a DApp that uses Bitcoin, Lumen, etc over the Ethereum BlockChain?

I'm a total newcomer to Ethereum, so please forgive me if my Question has been answered before. I'm trying to build a DApp that allows users to "import" their current Bitcoin for example, and spend ...
0
votes
1answer
44 views

Other cryptorurrency use in smart contracts

Is it possible to use other cryptocurrency than Ether (for example, Bitcoin, Litecoin etc.) within Ethereum smart contracts? I can imagine this will not really be compatible except for other currency ...
0
votes
1answer
547 views

Can i mine with ATI Mobility Radeon HD 5400 Series GPU?

i have ATI Mobility Radeon HD 5400 Series integrated gpu in my laptop can i use it for mining ?
0
votes
2answers
64 views

My question is about forks in general. If I have a portion of a coin do I get the exact portion of that new coin?

my question is about forks in general. If I have a portion of coins and it gets forked do I get the exact amount of the new forked coin?