Bitcoin Forum
June 22, 2024, 08:20:48 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Economy / Service Discussion / Re: Crypto currencies circulating supply on: January 31, 2018, 02:07:28 AM
For max supply, the only way to be sure is by reading the code. Especially with alts, which are under development, where the core team basically makes all the decisions and are decentralized only in aspiration, the inflation and max supply can change in a single commit.

I am not sure how circulating supply is derived.
2  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: How does Shapeshift work differently from other altcoin exchanges? on: May 03, 2017, 04:34:07 PM
I only use shapeshift if I know I need an altcoin fast. It rarely comes up, but it's handy when it does. The fees are high so it's not something I would do regularly (like if you're planning on day trading altcoins) but if you want to trade 100 obscure altcoins for 75 of some other obscure altcoin it is the place to go. The other choice would be to go to a large exchange, place a bid to sell your coins for bitcoins, then trade those bitcoins for the other altcoin you needed. You're mainly just paying a convenience fee.

You're missing two huge benefits: identity, or lack of it, and not keeping your money locked in an exchange.  Every exchange requires some form of identity, especially if you will be trading big amounts. Shapeshift is totally anonymous and instant. Also the fact that they immediately send funds back to your own wallet, instead of locking it up, is a big benefit. Sure you could manually do that on an exchange, but it is less convenient enough that people don't do it. I moved to shapeshift for all my trading, including big amounts, it's worth the small additional cost (less than 0.5% off polo in general).
3  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: How does Shapeshift work differently from other altcoin exchanges? on: May 01, 2017, 06:13:23 AM
Does shapeshift have its own accounts at exchanges to restock disproportionately popular coins? How do they acquire coins in bulk every day?
4  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: [ANN] Crypti Dapp Store | Decentralized Application Store for the Crypti Network on: October 14, 2015, 06:51:14 PM
Hello,

I'm following along the tutorial that demonstrates how to create a simple messaging app. Everything has been going great, but I have bumped into a couple of problems/confusion on this page:

Quote

Specifically, where does the code go that is described under "After our validation passes, we need to generate a key pair. To do this, we use modules.api.crypto.keypair". Is it in the callback of Message.prototype.add like this:

Code:
Message.prototype.add = function (cb, query) {
    // Validate query object
    library.validator.validate(query, {
        type: "object",
        properties: {
            recipientId: {
                type: "string",
                minLength: 1,
                maxLength: 21
            },
            secret: {
                type: "string",
                minLength: 1,
                maxLength: 100
            },
            message: {
                type: "string",
                minLength: 1,
                maxLength: 160
            }
        }
    }, function (err) {
        // If error exists, execute callback with error as first argument
        if (err) {
            return cb(err[0].message);
        }
       
        var keypair = modules.api.crypto.keypair(query.secret);
modules.blockchain.accounts.getAccount({
        publicKey: keypair.publicKey.toString('hex')
    }, function (err, account) {
        // If error occurs, call cb with error argument
        if (err) {
            return cb(err);
        }
       
// Create new transaction
try {
    var transaction = library.modules.logic.transaction.create({
        type: self.type,
        message: query.message,
        recipientId: query.recipientId,
        sender: account,
        keypair: keypair
    });
} catch (e) {
    // Catch error if something goes wrong
    return setImmediate(cb, e.toString());
}

// Send transaction for processing
modules.blockchain.transactions.processUnconfirmedTransaction(transaction, cb);           
    });       
       
    });
}

A second issue I am having is with the command:
Code:
crypti-cli dapps --deposit
. I get the following error:

Quote
{ [Error: connect ECONNREFUSED]
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect' } undefined
Error: connect ECONNREFUSED

Is this a port/firewall issue or something else?

Finally, I am getting an error when trying to run the PUT for the first message:

Code:
curl -XPUT -H "Content-type: application/json" -d '{
"recipientId": "58191895912485C",
"message": "Hello, world!",
"secret": "mysecret"
}' 'http://[my_domain_and_port]/api/dapps/[dappid]/api/messages/add'

Error:

Quote
Cannot PUT /dapps/1719096962757412325/api/messages/add

Does the recipientId have to be something specific, or can it be any string? Any idea how to debug that?

Thanks!

Baz
5  Bitcoin / Bitcoin Discussion / Strategy for pre-printing transactions from paper wallet to hot wallet on: October 09, 2014, 06:17:58 AM
I would like to generate and print an HD (bip32) paper wallet, and at the same time, pre-generate and print signed transactions that transfer funds from the paper wallet to a predefined hot wallet. The paper wallet would be stored safely in the bank, and the pre-signed transactions would be kept handy at home, ready to be broadcast to the network whenever the hot wallet needed a refill. When the hot wallet runs out of money, one of the pre-signed transactions, say for 1 btc, is executed, replenishing it for the week. If the pre-signed transactions get stolen, the worst that could happen is for the hot wallet to get loaded with bitcoin. The criminal would have to steal both the pre-signed transactions and hot wallet to gain access to lots of funds.

A couple of questions about making this happen: would receive addresses first have to be generated, so that they could be included in the transactions as the spending addresses? Additionally, would there have to be some management to make sure that the right address had the right amount of funds before a particular pre-signed transaction were executed?

If it works out, it seems like a nice way of getting offline security with near online convenience.

Thoughts?
6  Economy / Marketplace / Re: Pizza for bitcoins? on: October 09, 2014, 05:30:14 AM
Pizza wasn't the only transaction of the day.

There was the $2.2 million flash drive:

Flash Pen Kingston Data Traveler 101, 4GB Cyan = 2200 BTC (shipment not included)
https://bitcointalk.org/index.php?topic=52

The $5,000 page view:

I created a web site that gives away Bitcoins. Get 5 free bitcoins from freebitcoins.appspot.com.
https://bitcointalk.org/index.php?topic=183

The $100 million iphone:

Once I get my hands on a new one for Apple's iPhone OS 4, I will sell my old one for 100,000 bitcoins.
https://bitcointalk.org/index.php?topic=100
7  Bitcoin / Bitcoin Technical Support / Re: HD (bip32) paper wallet + mobile phone balance monitoring and address generation on: September 23, 2014, 09:24:23 PM
I'm sorry, but this reply is providing more problems than solutions. Hopefully someone more knowledgeable on the state if BIP32 software will come along and help...

Re bip32.org: I'm not familiar with them, but I took a quick look. They are producing BIP32 brain wallets, which is something you really don't want.

Re terminology / printouts: you'll want to save your "master extended public key" on one sheet, and your "master extended private key" on the other. Because the master extended public key can be derived from the master extended private key, you don't need to have both on the private sheet. It's up to you if you want to encrypt your master extended private key, but if you do, you should make sure it's encrypted using the BIP38 standard (simply because it's a standard likely to be supported by many wallets).

Although you shouldn't use bip32.org to create them, just for the sake of completeness: your master extended private key is next to the label "BIP32 Extended Key", and your master extended public key can be found by choosing "Info: m" next to "Derivation Path", and then looking next to "Derived Public Key"

Unfortunately, there's a lot I can't answer, e.g.:
  • Easy and secure way to generate a BIP32 paper wallet (and not a brain wallet)
  • BIP32 mobile app that's not in beta (there are several that are still in beta testing)
  • BIP32 mobile app that supports a watching-only wallet

If you have an iPhone, you might want to look at breadwallet. I don't know anything about it, but I do see that it's apparently not in beta, and it supports BIP32. I don't know if it supports watching-only wallets.

Good luck....

Great info btchris! It was a valid point for RustyNomad to have brought up as the site is built around the passphrase, I should perhaps find an alternate generator, or just use a random uid as the passphrase, and forget about it, since I'm writing/printing the private key anyway. I'm still on the hunt for a JS hd wallet generator and hd watcher android app.

8  Bitcoin / Bitcoin Technical Support / HD (bip32) paper wallet + mobile phone balance monitoring and address generation on: September 23, 2014, 01:20:28 PM
Hi,

I'd like to setup an HD (hierarchically deterministic bip32) cold paper wallet for receiving funds only, and be able to monitor the total balance, and generate new receive addresses, from my mobile phone. From what I understand, after generating an HD wallet, all that is needed to be recorded/printed are the "private key" and "master public key". Is this correct?

I was planning on generating my wallet at bip32.org. Is this a production-ready reference implementation? When I generate a wallet there, it is not clear to me which of the resulting properties are the ones I need to save. I do not see a property named "master public key", for example.

Once I have my keys generated, I will print two documents, one with both the "private key" and "master public key" on it, and a second with just the "master public key". The document with the "private key" will be heavily guarded, while the document with the "master public key" will also be guarded, but less so, since it does not allow spending of Bitcoin, it *only* reveals the total balance of all generated addresses. Is this correct?

Now that the paper wallet is generated and secured, I would like to transfer some funds to it and monitor the balance using my mobile phone. I need to install an app that understands how HD wallets work, give it my "master public key", and request it to generate a new receive address. I send some coin to that address, and the app subsequently displays the new balance using the already provided "master public key". Is this right? Any android app recommendations for this setup?

Best,
Baz
9  Bitcoin / Bitcoin Discussion / Re: Rather than trying to re-teach people how money works... on: March 31, 2014, 07:08:29 AM
I can't for the life of me understand how educating someone about bitcoin could ever be a bad thing.  I guess I'll have to reread this thread over because I"m not getting it at all.

I am arguing that people have historically rejected managing much simpler items of value. We will not be able to stand against their will. We must adapt and focus efforts on abstracting Bitcoin away from them as much as possible.
10  Bitcoin / Bitcoin Discussion / Re: We should stop trying to re-educate people on how to use money... on: March 31, 2014, 05:00:54 AM
... and focus our efforts on hiding Bitcoin from view: http://posts.thinkloop.com/stop_teaching_people_about_bitcoin/index.html

Better if you quote something from the article.

Right again. Updated, and thank you.
11  Bitcoin / Bitcoin Discussion / Re: We should stop trying to re-educate people on how to use money... on: March 31, 2014, 04:14:54 AM
Still feels like an odd title

I agree, I changed it.
12  Bitcoin / Bitcoin Discussion / Rather than re-educating people on a new system of money... on: March 30, 2014, 11:10:58 PM
...we should focus on abstracting Bitcoin away.

Throughout history people have outsourced the responsibility of managing their wealth with much simpler assets.

"The consumer-facing financial system is soft and forgiving and fine-tuned for the consumer."

"Real assets, like cash, bonds, property, gold, etc., are only exchanged through the backhaul, in aggregate, between institutions, to settle the net difference of all their accounts."

"There will be the same banks and credit cards and chargebacks that have been perfected for generations, but they will be denominated in Bitcoin. The focus will shift from trying to educate the population about paper wallets, private keys, and live CDs, to completely abstracting Bitcoin away from daily life. The majority of transactions will happen off blockchain between users' private accounts, with only sophisticated institutions trading real Bitcoin on the blockchain. Consumers will not have to manage, secure, transact, or otherwise interact with Bitcoin at all, leaving all the dirty work to the professionals."

full article: http://posts.thinkloop.com/bitcoin_should_be_abstracted_away_from_day_to_day_use/index.html
13  Bitcoin / Development & Technical Discussion / Re: Simple way to get address balance ? on: January 29, 2014, 07:08:17 PM

This option does not work, the value given is not the one I'm looking for...

Then you need to be more open minded and pay us to work.

In fact, this option is working: http://jsfiddle.net/thinkloop/XW9AF/

I'm playing with it right now, but, yes, I'll probably pay someone here if he can do what I want, I've already paid another member here for another project, so I guess that I am already "open minded" Tongue



How exactly is that not working?

Like I said, it Is working.

But to be clear on what I need I'll be more specific.
I want to have a list of address on a website, and you'll have three possible states for each of the address: "not funded" , "partially funded" and "fully funded", those states will be based on a predefined value, for exemple, "1 bitcoin" so it will need a database that will contain the address and value.

Ideally I would like to be able to have a search box where I can enter the first 8 char of the address and list the full address and the states.

Hope that make my intentions clearer ! Smiley

Cryptolator are you trying to spread out your btc in 1 btc increments between differing addresses, and trying to build this system to manage that? Is this for privacy/security?
14  Bitcoin / Development & Technical Discussion / Re: Simple way to get address balance ? on: January 29, 2014, 04:36:14 AM
Cryptolator no comment on http://jsfiddle.net/thinkloop/XW9AF/....  Undecided

What do you mean by "no comment" ?


Isn't the fiddle kinda what you're looking for Smiley
15  Bitcoin / Development & Technical Discussion / Re: Simple way to get address balance ? on: January 29, 2014, 04:23:29 AM
Cryptolator no comment on http://jsfiddle.net/thinkloop/XW9AF/....  Undecided
16  Bitcoin / Development & Technical Discussion / Re: Simple way to get address balance ? on: January 28, 2014, 10:02:33 PM
because they created a value for (addressX_input - addressX_output). You can get the balance of specific addresses via client but the way its calculated for everyone is through the blockchain

Ok, but their must be a way to grab the balance by querying blockchain.info ?

By the way thanks for your info, it's really appreciated !


Have you looked through the blockchain API?

Yes, I think the solution may be:
http://blockchain.info/address/$bitcoin_address?format=json

Which will return this:

{
   "hash160":"660d4ef3a743e3e696ad990364e555c271ad504b",
   "address":"1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F",
   "n_tx":17,
   "n_unredeemed":2,
   "total_received":1031350000,
   "total_sent":931250000,
   "final_balance":100100000,
   "txs":[--Array of Transactions--]
}

And then, I isolate the "final_balance" value

Not too sure how to implement it on a website tho, but I think it might be the way to go...



JSON is javascript. If you know javascript, all you have to do is read the API documentation from blockchain.info and write the code. If you don't know javascript you must learn it Smiley

My JavaScript skills are limited, I think I'll have to hire someone ! Smiley

You looking for something like this: http://jsfiddle.net/thinkloop/XW9AF/
17  Bitcoin / Development & Technical Discussion / Re: Simple way to get address balance ? on: January 28, 2014, 07:59:45 AM
Yes, I think the solution may be:
http://blockchain.info/address/$bitcoin_address?format=json

Which will return this:

{
   "hash160":"660d4ef3a743e3e696ad990364e555c271ad504b",
   "address":"1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F",
   "n_tx":17,
   "n_unredeemed":2,
   "total_received":1031350000,
   "total_sent":931250000,
   "final_balance":100100000,
   "txs":[--Array of Transactions--]
}

And then, I isolate the "final_balance" value

Not too sure how to implement it on a website tho, but I think it might be the way to go...

I think you will need to get an api key from blockchain to be able to use that in code: http://blockchain.info/api/api_create_code
18  Economy / Economics / Re: Exchange staff says they will dump ''soon'' (move to ''speculation'') on: January 27, 2014, 08:23:29 AM
How did you quote the comment if you can't find it?
19  Economy / Economics / Re: Bitcoin redistribution on: January 15, 2014, 08:29:48 PM
True or not, seems weird to dump poison in the atmosphere - why not err on the side of clean air?
CO2 is not a poison.

Anything is a poison in the right doses, but what about carbon monoxide, sulfur dioxide, methane, etc.?
20  Economy / Economics / Re: Bitcoin redistribution on: January 15, 2014, 08:23:49 PM
If prices are getting very high, Satoshi would not really need hundreds of billions of Dollars, it makes more sense if he is voluntarialy organizing a serious "giveaway" and distributed it to non-profitable organizations working agains climate-change, to red-cross, fund educational programs, etc...

He would remain very, very rich, would make Bitcoin safer and definitely write his name in history.


Satoshi is not stupid enough to believe in the climate change garbage. A religious nut could not have made something like bitcoin.

I don't want to be carried off-topic and I also don't know how things are in the US much (where seemingly most of the religious nuts and climate-deniers are), but I would associate religious nuts with denying climate change, not the other way round as your statement suggests.  Why do you think that religious nuts in particular are those supporting scientifically evidenced climate change?  (When they opposed scientifically evidenced evolutionary theory, for instance.)
Too bad, we are officially derailed.

The so-called manmade global warming shit is pure politics and superstition. The science is, in fact, divided on how much and even if we make a meaningful difference, what the factors are and useful responses to it.

But even if we pretend we are in fact warming the planet, that is vastly preferable to keeping the pre-oil and coal status quo because that would result in another ice age. We are at the tail end of one of the short warm periods, so keep on burning that coal and oil. If they are right there is a nonzero chance we are warding off an ice age, and if they are wrong any attempts to "fix" things would just be money out the window.

Additionally, just for completeness sake, keep in mind there are no actual "climate scientists". There is no such thing, it doesn't exist. There are geologists and meteorologists and such, but there are no actual climate scientists. It's a term the media made up.

True or not, seems weird to dump poison in the atmosphere - why not err on the side of clean air?
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!