Bitcoin Forum
August 14, 2022, 07:05:19 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / [ANN] Bitcoin Node API - Automatically map rpc commands to urls in Node.js on: July 15, 2013, 01:40:41 AM
Hey guys,

I'm the lead Bitcoin and front-end developer for Min.io.

I'm a big fan of Node.js. I use the Bitcoin-Node module to interface with bitcoind. However, often I would do testing and needed to run a command quickly without having to code the command and then run the server again. By using the browser I wanted to just run any command directly with no fuss.

So, I created Bitcoin Node Api. This an Express JS middleware plugin that opens a chosen url to interface with your chosen Bitcoin wallet.

An example Node.js Express server. As easy as that!
Code:
var bitcoinapi = require('bitcoin-node-api');
var express = require('express');
var app = express();

//Username and password relate to those set in the bitcoin.conf file

var wallet = {
  host: 'localhost',
  port: 8332,
  user: 'username',
  pass: 'password'
};

bitcoinapi.setWalletDetails(wallet);
bitcoinapi.setAccess('default-safe'); //Access control
app.use('/bitcoin/api', bitcoinapi.app); //Bind the middleware to any chosen url

app.listen(3000);

Just add the method name after the binded url.

Code:
http://localhost:5000/URL/METHOD

For example:

Code:
http://localhost:5000/bitcoin/api/getinfo

Returns this:

Code:
{
  "version": 80300,
  "protocolversion": 70001,
  "walletversion": 60000,
  "balance": 4.3222,
  "blocks": 245645,
  "timeoffset": -2,
  "connections": 8,
  "proxy": "",
  "difficulty": 21335329.113983,
  "testnet": false,
  "keypoololdest": 1368414896,
  "keypoolsize": 101,
  "paytxfee": 0.0001,
  "unlocked_until": 0,
  "errors": ""
}

It's in its infancy. Some commands do not work out of the box, specifically the more complex commands.

If you like this project, star/watch it and/or contribute code. You can read more about the project by checking out the repo. I'll be adding support for more commands as time goes on.
2  Economy / Service Announcements / [ANN] Min.io - Let users pay as much as they want for your digital content on: June 24, 2013, 05:45:24 AM
Hey BitcoinTalk,

I'm one of the cofounders of Min.io, a site where we want to make it ridiculously easily to get value for your digital content. Bitcoin has made this incredibly easy. In South Africa, where we are based, we've had many hurdles and issues to get paid for the content that we create. Only recently could we retrieve money from Paypal into our bank accounts. You can read more about why we're creating Min.io here.

We're in closed beta at the moment so we need people to help test our site.

Send us an email at: info@min.io and we'll send you an invite.

Then all you have to do is upload your file, set a pay as much as you want option (or minimum value), add your email and Bitcoin address and you're ready to go. You can conveniently price your product in fiat and we'll make sure you get the value you need.

I've uploaded my own item already. It's an EP of B-Sides for my chiptune music project. We've added incentives for creators to support other creators by lowering the transaction fees if you as a creator buy items and if you pay above average.

We're working on new ideas around the clock, but our core mission is to make it easy to receive value for your content, with low fees and an excellent user experience.


3  Bitcoin / Development & Technical Discussion / How do I find the fee of a received transaction? on: May 22, 2013, 02:20:24 AM
I'm currently developing a bitcoin service and to mitigate risk in zero-confirm transactions, I want to determine if a transaction has a miners fee attached to it or not.

How can I do this?

I know send transactions include the 'fee' in the details field in the gettransaction api call. But if I receive bitcoins how can I determine if it has a fee attached? Any help here would be appreciated.

I see Blockchain.info has this information, so I know it's possible.

4  Bitcoin / Development & Technical Discussion / Does the move api command incur a transaction fee? Blockchain.info on: April 12, 2013, 02:51:08 AM
Hey,

according to the this wiki page, account to account transfers don't have a tx fee:
Quote
Moves are not broadcast to the network, and never incur transaction fees; they just adjust account balances in the wallet.
https://en.bitcoin.it/wiki/Accounts_explained

However, when I do the move command using the JSON-PRC api on a Blockchain.info wallet, the transaction creates a fee. It moves the bitcoins around, but it subtracts the standard miner's fee.

Here's an example of a move transaction I executed (from one account to another that have been set on my wallet):
https://blockchain.info/tx/b079d4abc0ed38382ae1978b1462a291459cfc6160bf7060ce4f1fa9c3a29d44

 I don't understand this. It doesn't look right. Can someone explain how the move command is supposed to work? Is this maybe a problem with the Blockchain.info implementation?

Any help will be greatly appreciated!
5  Bitcoin / Bitcoin Technical Support / Paid BTC to api generated address on Blockchain.info but not showing in wallet on: March 24, 2013, 08:22:50 AM
I'm developing a BTC side-project and working with the Blockchain.info api as a payment processor (need a hosted wallet to collect fees). Earlier this week I generated an address using their receiving API and sent some BTC to test it. It worked, here's the address I paid to:

http://blockchain.info/address/17t1wvgG8eWEfsM1Eb3NGGfJ2LjAf4kujp

Then this morning to try and do some more testing regarding fees, I generated another address which is now stuck in limbo. It doesn't forward the money to my online wallet address:

http://blockchain.info/address/1E8EubDYoumKbJ7MZrASXBCNkg2cLKLEdT

What's up? Is something wrong with Blockchain.info api? Will this BTC be salvaged somehow? This is unacceptable for a payment processor. Does anyone have any other alternatives for a payment processor that hosts a bitcoind/wallet for you? I don't want to host my own wallet as my knowledge on security is too low and would be irresponsible to do so. All I want is a simple api to handle payments for me.

6  Economy / Invites & Accounts / Ruxum Invites Inside on: August 31, 2011, 11:18:47 AM
I've got 10 Invites to give away for Ruxum Beta.
http://ruxum.com

Just send me a PM with your preferred email address.

EDIT: 8 Left
7  Other / Obsolete (selling) / WTB 85 BTC for $12/BTC via Paypal on: June 03, 2011, 07:30:27 AM
Hi,

I want to buy 85 BTC for $12 a bitcoin via Paypal, thus final price will $1020.
I have traded before on Bitcoinmarket, but their prices are too high. I can't buy on MtGox because I'm not a US citizen, thus is hard to buy there.

Send a PM or email at nieldlr@gmail.com if you are interested!
8  Other / Obsolete (selling) / WTB 100 BTC for $1010 via Paypal on: June 02, 2011, 04:27:28 PM
Hi,

I would like to buy 100 BTC at $10.1 each, thus $1010 in total.
I have been trading BTC on bitcoinmarket.com, you can check my ratings here:
https://www.bitcoinmarket.com/market/members/view/?market_memberID=3344

Thus, I won't scam you out of your money.
Send me an email to nieldlr@gmail.com if you are interested in selling 100 BTC.

EDIT: Night time at mine currently GMT+2. Pop me an email and I'll reply asap in the morning! Offer still stands
9  Other / Obsolete (selling) / Selling two high impact TLD domain names on: June 01, 2011, 01:24:14 PM
I've got two domains:

http://translationtochinese.net
&
http://translationtochinese.info

That I want to sell. I currently have too many Chinese related domain names and web projects going on and I won't use these to their fullest potential. According to Google Keywords the keyword "Translate to Chinese" is globally searched 301, 000 times monthly, thus it has a good chance for monetization.

My registrar is Godaddy, thus if you have Godaddy it will make the transfer quick and easy. Otherwise we can sort some things out.

Send me an email at nieldlr@gmail.com if you are interested. I'll sell both for a nice discount if you want to buy both. We can negotiate a price.

Edit: Removed price. Opened for negotiations.
10  Local / 中文 (Chinese) / 校对你们的英文文章-看里面 on: May 31, 2011, 04:14:05 PM
你好,
我在大学学过汉语,但是我的汉语不太好了,所以有耐心一点。 Smiley

我的母语是英语,所以我会帮助你校对你的英语文章。
你可以给我比特币。

你发给一个email在nieldlr@gmail.com ,然后我们判断价格。

Hi,

I studied Mandarin at University, but my Chinese is not too good, so have a bit of patience. Smiley

My first language is English, so I can help you proofread your English essays/articles.
You can send me Bitcoins.

Send me an email at nieldlr@gmail.com, then we can decide the price.

我希望你们明白我 Smiley
如果对我的中文感兴趣,你看我的博客http://confusedlaowai.com
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!