12

The bitcoin price is determined by a free market of buyers and sellers. There is no way to calculate the price on your own without an external source. I suppose the only exception to this would be if you ran your own bitcoin exchange and you had enough users and volume to produce a fair market price.


8

Check this: https://en.bitcoin.it/wiki/Testnet The testnet is an alternative Bitcoin block chain, to be used for testing. This allows application developers or bitcoin testers to experiment, without having to use real bitcoins or worrying about breaking the main bitcoin chain.


7

Try using bitwasp. It seems to provide a lot of features you need. Try it and let us know if it works. https://github.com/Bit-Wasp/BitWasp https://bitcointalk.org/index.php?topic=109223.0


5

Today the modern Bitcoin-qt client does not relay transactions with more than 200 outputs. But this is not protocol restriction. You can create transactions up to 100k size, which gives you 2500-3000 outputs (try to count the exact number yourself). For example, tx https://blockchain.info/tx/0313e6552a5337de92c475c0dbbb0e351a1525b0f202beb9d4c75b3a5b114bf3 ...


5

You may be thinking with cause and effect reversed. The Bitcoin price being $300 does not cause people to buy and sell at $300. Rather, people buying and selling at $300 causes the price to be $300. Obviously, there is no way to find out what price people buy and sell bitcoins at without buying or selling bitcoins, or asking someone else who's buying or ...


4

The correct way to do this (beware: extremely technical) is to: Reserve a coin of your own for each auction (the "auction coin"). This shouldn't be too big (you will lose it until the auction is over), but try not to make a dedicated one just for the sake of the auction (use a small one you already have!). Create an address for the auction's winning bid (...


4

Survey order: You ought to have a system that uniquely identifies the survey and assigned it some string of characters. This can be just a simple number, or something more complex. You need to use that unique id to request a Bitcoin address form bitcoind with a unique account name derived from that id. I would also advise hashing the account name, so in ...


4

Some quick Google searching uncovered these: Bitcoin Plus Bitcoin Miner for Websites Hamiyoca jsMiner The general feeling, though, is that it is impractical.


4

You need to set up bitcoind and look into accounts. If you want users to be able to pay each other in the system for anything, it is quite easy to move Bitcoins around without creating transactions simply by calling the move API. After that you just need to add the options for users to put money into their accounts and withdraw them, and you are set. Can't ...


3

I think the answer is that a credit card company is vouching for you when you make a purchase. The seller does not know you, but they know the credit card company, and they know the credit card will give them their funds. The credit card company in turn knows you, and has deemed you credit-worthy. This is why it's called "credit" ... from the latin credere: "...


3

It is the same link protocol as http: or ftp: or mailto: or tel: or magnet:, although very less recognised. Official Bitcoin github MediaWiki Link Localbitcoins.com offer its registered users to associate itself(site) to bitcoin: protocol, when user is signed in, and thus he clicks a link with bitcoin protocol, localbitcoins.com will automatically fill in ...


3

Bitcoin wallet development usually involves communicating with either bitcoind through HTTP JSON RPC, or otherwise with other Bitcoin Clients through the Bitcoin Protocol over TCP. On top of that, there are the usual requirements of authenticating users, securing data and so forth. All of those security issues are not Bitcoin specific, thus I think this ...


3

You can use one of the merchant solution providers, such as: coinbase, BitPay, for generating addresses per payment (as paypal does) redirects / serve the client with payment request at 3rd party . or, you can handle payment process inhouse by generating address for each payment and saving the pk / HD wallet will take much longer and develop time to do.


2

There is a testnet for this sort of thing so you don't lose any money playing around. See https://en.bitcoin.it/wiki/Testnet and http://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/ After that you'll have to decide what approach you want to take. Are you integrating bitcoin into a larger project, or do you want to play with the internals?...


2

If you really want to create a custom bitcoin application, forking from an existing app should reduce reinventing the wheel and can act as a learning resource. For example, here are two open-source Android bitcoin apps whose source you could grab: http://code.google.com/p/bitcoin-wallet/ http://code.google.com/p/bitcoinspinner/ The simplest solution that ...


2

You can use bitcoinjs-lib, a nodejs package which easily generates addresses. Apart from that it manages transaction signing and other useful stuff too which would help in development. You can check out their site (where there is a list of organisations, including blockchain.info, who use their package) Bitcoinjs


2

Here is a book which teach you some basics of bitcoin programming https://programmingblockchain.gitbooks.io/programmingblockchain/content/


2

If you are using more than one wallet, the wallet is selected by sending the RPC requests to <host:port>/wallet/<wallet_name>.


2

There is a similar question from 6 years ago with different options and answers Is there a remote, trustless bitcoin API that doesn't require anything (blockchain/SPV headers) to be stored locally? Otherwise I suppose the options havent changed much, unless maybe the pruning mod which allow you to run a lightweight bitcoin node (550mb instead of 250giga+...


2

Although certain coins have a few available API providers (such as BitGo for Bitcoin), any sane and security conscious company should elect to run their own nodes for each supported currency, manage their own keys, and have their own wrapper to handle deposits and withdrawals by interacting with the nodes. This is especially relevant for coins like Monero ...


1

I'm not sure about Nbitcoin node's API, but I could help you on a blockchain explorer API. I would recommend Blockr.io, they are fast and trustable. Use the following code to check for confirmed transactions: (output is in json) http://btc.blockr.io/api/v1/address/balance/198aMn6ZYAczwrE5NvNTUMyJ5qkfy4g3Hi,1L8meqhMTRpxasdGt8DHSJfscxgHHzvPgk?confirmations=1 ...


1

I don't know if that's the right method but it does work. delete global._bitcore var bitcore = require('bitcore-lib')


1

I would separate out the unit tests and the integration tests. If the function needs to go out to the internet or wait for the blockchain, I make them integration tests which I can run less frequently like every five minutes. The functions that are fast I like to run every 10 seconds. Linking the errors to sensible time stamped logs like pm2 and key-...


1

The easiest way would be to use the API of a block explorer. Several provide such an API and some have wrapper libraries for C#. For example the blockchain.info blockchain explorer has such an API and has a C# wrapper as well. Consult their Blockchain Data API which explains how to get the balance (among other data) from an address. More specifically, you ...


1

Check out Hierarchical Deterministic Wallets (BIP32) and eventually this blog-post to get a better understanding of the implications it brings. There are many wallets today that have BIP32 implemented. Bitcoin Core is NOT one of them and should probably not be used for the wallet feature. In the scenario you described, your webserver will provide new ...


1

Use your domain to sell bitcoins for fiat in your country. That's the most profitable thing you can do.


1

Consider using hierarchical BIP32 wallets. You can generate the addresses with various tools (e.g. sx) or natively in your web app. Then you can import the keys to your bitcoind node in order to manage them. If needed, you can have multiple bitcoind nodes and load-balance the keys among them (e.g. having X customers per node). The great advantage of BIP32 ...


1

You can. If you make a Bitcoin URI with the r parameter, it will interpret that as a url to fetch the PaymentRequest from. Documentation on this feature is frustratingly sparse, so I'm having trouble figuring out how to implement all of the details, though.


1

Looks like scam yeah. It looks like they are asking for one normal bitcoin address, so any address they generate will NOT be yours. However it would be possible to do such a thing if they would ask for the xpub seed of your HD wallet. Even then though it wouldn't make sense to trust a service like that. Stay away!


1

The Block.io api supports accounts for similar usage. With Block.io, you can create wallet addresses for users inside your games, auction sites, stores, etc. To create a user's wallet on your account, create addresses for them using get_new_address. You should specify a sequence of labels for that user. For instance, if we wish to create a number of ...


Only top voted, non community-wiki answers of a minimum length are eligible