Here I demonstrate how to generate a bitcoin wallet via the command line. In order to use this program, Fresh-Wallet, you must download the repository from Github.
The Bitcoin unit is probably one of the most overlooked subjects in the Bitcoin space. As with most things in Bitcoin, origin at best is unclear. In their July 1st blog post titled Breaking It Down: Bitcoin Units of Measurement, Blockchain.info established that 10 satoshis can be expressed as 1 finney. My assumption is that this unit was named after the late Hal Finney. This was an introduction that surprisingly did not get much attention, which is why I’m choosing to shed some light on it.
I first wrote about this back in September 2013 in a blog post titled Bitcoin Units. My then explanation of Bitcoin units, for the most part, continues to be consistent with standard use (accept for the addition of finney). Back then, everything was referenced in either satohis (シ) or whole BTC’s (Ƀ). Then Coinbase solidified bits as a more realistic unit of measurement given where the BTC/USD exchange rate continued to hover at.
Taking Blockchain.info’s recent analysis into consideration, I will provide an updated unit chart:
|Unit name||BTC value|
|Bitcoin (BTC)||1 BTC|
|Centibitcoin, Cent-Bitcoin, bitcent (cBTC)||0.01 BTC|
|Millibitcoin, Milli-Bitcoin, millibit, mbit (mBTC)||0.001 BTC|
|Microbitcoin, microbit, bit (μBTC)||0.000001 BTC|
Although from time to time I’ll hear people express Bitcoin value in milibits, today the most popular units used are BTC and bits. Amounts expressed in satoshis are common more among the bitcoin development community where numbers and the calculations behind them warrant more precision. In general, the least common references are centibitcoin(cBTC) and finney, however this is always subject to change.
Setting the rules
There is no governing body (yet) that dictates what Bitcoin units should be. As of now, there have only been a handful of players that have possessed the necessary influence in setting the Bitcoin units agenda. Other than that, most of the Bitcoin community has been content with referencing value in whole BTC, divisible by 8 decimal places. Although it would be nice to have a somewhat uniform approach to labeling each descending Bitcoin unit, this approach goes against Bitcoin’s grain and is probably too early to implement if it were possible at all. The closest we have to come to any form of Bitcoin uniformity as a currency is Bitcoin’s ISO 4217 currency code: XBTC. ISO 4217 is a currency code standard set by the International Organization of Standardization.
Nothing is written in stone
If Bitcoin ever approaches a serious level of world-wide adoption either as a currency or a store of value, I imagine there would be hundreds of thousands of unit names that compliment the world’s political and linguistic diversity. In the end, the innovation on top of the blockchain will translate into world recognition of this publicly audited ledger. For instance, Americans do not officially use the metric system, but regularly share flights with European nationals, who DO use the metric system. However we still manage to figure out how much fuel is needed for a cross-Atlantic flight. We share the same air and natural resources even though we have different time zones, and it seems to work.
The issue of naming Bitcoin units is one that will work itself out naturally. While now seen as a relatively minor issue, unit names will require providing education for those who plan to conduct activity on this network. Right now, a “finney” might not be a realistic unit to use for everyday activity simply because it represents value worth less than a penny ($0.01 USD). But there may be a place for it in the future as the Bitcoin network increasingly becomes a reliable transaction layer for exchanging value of the internet.
Given the ease with which we can send and receive bitcoin from our smartphones, it is easy to take for granted how the bitcoin network actually handles transactions. For most, including myself, it’s convenient to assume that Satoshi’s magical internet money teleports from one device to another, ignoring borders and the politics that justify them. On our digital wallets, we see the words “balance”, and track the amount of value we have access to in the form of a specific amount of “bitcoin.” But if bitcoins are not tangible, what does this amount really mean and how accurate is it?
When a bitcoin transaction occurs, it is broadcasted to the bitcoin network and is validated through a process called mining (carried out by miners). The mining process is a rather complicated one, something we will save for another day.
When you look up a particular address on a blockchain explorer, the figure stated as the Final Balance does not represent an amount of bitcoin, because technically bitcoins do not exist. What this Final Balance figure represents is the collective amount of unspent transaction outputs (UTXO) – a record of previous transactions associated with that address, with a particular amount of outputs associated with each receiving transaction. When you want to send bitcoin to another address, your wallet application will gather all of these UTXOs and figure out which ones to use.
For example, let’s say you had a bitcoin balance of 6 BTC, which was the result of 3 separate payments you received from other people.
- 1st transaction – you received 2 BTC
- 2nd transaction – you received 1 BTC
- 3rd transaction – you received 3 BTC
Now let’s say you want to send 4 BTC to your sister, and because you have 6 BTC, you know that you have enough to cover the transaction. If you had one unspent transaction output of 4 BTC, your wallet application would be inclined to choose that output to sign away to your sister’s bitcoin address, but because this individual transaction amount does not exist, your wallet application will choose a combination of unspent outputs to satisfy the 4 BTC amount. In our example, the application would choose the outputs from the first transaction (2 BTC), and the third transaction (3 BTC). While the combination of the 2nd and 3rd transactions equals 4 BTC, this would not be enough to cover our intended transfer to our sister’s wallet for one simple reason: the transaction fee. With each transaction on the bitcoin network, we must pay a fee to compensate miners for accepting and verifying the transaction. In our case, let’s assume the transaction fee was 0.0001 BTC. Our wallet application would collect the bitcoin amount associated with the first and third transaction (collectively 5 BTC), send 4 BTC to our sister’s address, deduct 0.0001 BTC as a transaction fee, and return 0.9999 BTC back to our wallet address. Our new balance would be 1.9999 BTC. Transaction fees are contingent on a number of variables and conditions. At the time of this writing, transaction fees in general are increasing; in reality this fee would be somewhat higher.
Your outputs become my inputs
To get a basic understanding of what goes on in a bitcoin transaction, a great place to start is a focus on transaction inputs and outputs. Whenever you want to initiate a bitcoin transaction, your bitcoin wallet application is tasked with gathering up enough funds in your wallet to cover the transaction. Most would think that this involves a gathering of units of digital currency we call bitcoin, but as stated earlier, the wallet application is gathering outputs that have not yet been spent (unspent outputs). In many ways, Bitcoin can be seen as a ledger system where we can monitor our transaction activity in double-entry bookkeeping form.
Transaction inputs are importing bitcoin from outputs in order to transfer value to another address. After being sent to another address, these outputs will be referenced by other inputs for someone else’s future transactions. Think of transaction inputs as being the result of a previous transaction and the value you received from those previous transactions, where transaction outputs represent the value that is being signed away (sent) to another address.
Unspent transactions outputs (UTXO)
The balance in your wallet is appropriately referred to as the amount of UTXOs available to your address; this is the amount of value that has not been spent yet. UTXOs are what the bitcoin protocol recognizes as units of bitcoin, where we usually recognize such units as “BTC”, “mBTC”, or “bits.” In a previous post, I give a quick breakdown on Bitcoin units. In bitcoin there is no spending per se, but rather the power to sign a transaction in order to transfer value (unspent outputs) over to another bitcoin address. These transaction outputs are essentially assigning new ownership to the bitcoin by associating that value with a key. The private key is what allows for the signing of transactions, and without it you have no signing power (no access to your bitcoin).
The intricacies of bitcoin transactions enable the protocol to operate with a certain degree of autonomy. Some have argued that this autonomy allows for security and transparency while others highlight the inherent risks that can be found in a decentralized financial system.
I see transactions as being one of the most intriguing aspects of the bitcoin protocol. Because we are dealing with programmable money, it is possible to build applications that perform transactions at a certain future date under predefined conditions (i.e. smart contracts). The input-output chain-linking activity responsible for the movement of value on the blockchain is what makes this technology rather promising.
Blockchain sans bitcoin has been a recent slogan among those advocating the potential benefits of “the blockchain” while trying to avoid the perceived Silk Road aroma of Bitcoin. Without going into great detail about this debate, and based on what has been delivered to the market thus far, I will say that I do not support the argument that private blockchains can offer the same benefits the bitcoin blockchain provides without the use of Bitcoin as an underlying token. So when I refer to “the blockchain”, you can assume that I am speaking of the Bitcoin blockchain. I use the term bearer instrument (or bearer asset) and not bearer security in order to avoid the assumption that my definition of a crypto bearer instrument satisfies the definition of a security found under the Uniform Securities Act and the U.S. Supreme Court case SEC vs. W. J. Howey Co.
Quite simply, bearer instruments are types of investments that exist without the official recording of the instruments’ owner. When it comes to bonds, we should compare bearer bonds to book entry bonds for a better understanding. With book entry bonds (mostly used today), ownership is documented and maintained by an official record. The owner of a book entry bond cannot trade his/her bond without passing title. In contrast, bearer bond owners can trade their bonds without having to worry about documented ownership because whomever maintains the physical bearer bond will have claim on future interest payments. There are also bearer shares that act in a similar manner. When it comes to bearer instruments, the term bearer indicates that an instrument is not centrally registered for the purposes of recording title and ownership. From the perspective of Bitcoin, the exchange of crypto bearer instruments would be as simple as scanning a QR code and waiting for six confirmations.
A crypto bearer instrument, by itself, would reflect the decentralized nature of the Bitcoin network and wouldn’t be much different than any other type of bearer investment when it comes to the tracking of ownership. However, if such assets were traded on the decentralized Bitcoin network, the issuance of the asset would be far from decentralized. You can expect that a company, project, municipality, or fundraiser that issues a bearer asset on the blockchain will be keeping tabs not on those who have the asset in their possession at any given time, but of the very existence of those securities. Unfortunately, such book-keeping would come short of meeting the demands of the regulatory oversight investment professionals and institutions face today.
I had recently come across an email from a group claiming to be Pantera Capital (it was not actually Pantera Capital; the email turned out to be a hoax). The email contained three qr codes with a description for each. Essentially the email sender stated that by sending bitcoin to any of those QR codes, one would be investing in a fund that would yield a certain return over a particular time period. No personal information would be required! Just scan the qr code, select a Bitcoin amount, press send, and then you’re done. For a few seconds, I thought I had just witnessed Bitcoin’s new killer app. And then those six letters popped into my head: AML/KYC. But for those few seconds, I encountered a completely different method of investing than what I had been taught at business school.
One great benefit of having this as a potential investment option is the ease of use it brings to the investor. Recordkeeping would be seamless with minimal effort. The benefits attached to the crypto bearer asset (i.e. interest, public recognition, dividends, free t-shirts, etc.) would always be attached to the investment, assuming that the asset benefits from the network effect of the blockchain and the investor has sole possession of the private keys. I see no reason why governments could not effectively build tax collecting applications on top of this publicly audited ledger. Crypto bearer assets could also be a boon for cross-border, grassroots political fundraising.
At this time there seems to be little room for this kind of financial innovation when it comes to Dodd-Frank legislation. The record-collection requirements being placed on financial institutions seems to becoming increasing rigorous, and this rigor doesn’t appear to be tapering off any time soon. The government expects you to (1) know what you’re selling/issuing, (2) pay your annual compliance dues, but more importantly, (3) who you are selling to. I am a firm believer in the power of a vote here in the United States, and government policies will more often than not reflect the people’s general attitude and position on a matter. This leads me to believe that most people are not yet comfortable treating their money like email.
A world where money moves at email speed will require us to review our approach to the transfer of value and the degree to which this value can represent a voice (i.e. money = speech). Bitcoin, as a form of value, exceeds the definition of money. In order to benefit from the technological innovation it seems to provide, I think it would be ideal to test the crypto bearer asset idea in a small and relatively controlled environment. This might help uncover regulatory bugs within the system. Looking at the speed at which information travels throughout the world today, there’s an increasing need of having to attach value to that information.
The internal combustion engine does not come with wheels. How on Earth could it compete with the horse and buggy?
With relative ease we have the capability of intensifying the like-button to the degree that monetary value can be attached to that like. When it comes to payment transactions across the internet, cryptocurrencies provide a fluid payment network that requires very little commitment on the part of both the tipper and tippee. We should all strive to monetize the like-button because there exists a public desire to express appreciation for something in the form of a tip, and probably a bigger desire to receive that tip for one’s work in the Uber economy.
Up until now the tipping experience has been somewhat limiting. While we as consumers are increasingly carrying out cashless transactions, many of these cashless payment methods restrict our ability to effectively tip with ease (i.e. credit cards, PayPal, ACH). Given the appropriate application, cryptocurrencies and blockchain technology can be a practical solution in tackling this problem. Peer-to-peer (P2P) cryptocurrency transactions involve a relatively quick process that does not require the relinquishing of one’s personal information. It’s as simple as opening an app, scanning a code, and pressing a button. When it comes to transparency, the value proposition of cryptocurrencies over traditional payment methods is highlighted by intermediaries. There are numerous ways to verify a transaction with credit cards or PayPal, however all of these methods involve third parties or middlemen, all of which can become quite costly in the long-run. With cryptocurrencies, all direct P2P transactions can be verified on the blockchain, a publicly audited ledger.
The argument that volatility is a hindrance to cryptocurrency adoption should not be applied to tipping; this argument fails to take into account the minimal impact exchange rate fluctuations would have on relatively small units of money (i.e. tips). Obviously this would be different for larger transactions where there is greater importance for such amounts to maintain a stable value. One must assume any kind of tip to be more welcoming than nothing at all.
Many entrepreneurs, contractors and artists who have become acclimated with using cryptocurrencies will often leave their cryptocurrency address (or QR code) at the bottom of the homepage in hopes that someone will send them some spare crypto-change. We have already begun to see this form of digital endearment through the use of tipping with not just Bitcoin, but with other digital currencies. For instance, the Jamaican bobsled team obtained a portion of their funding for their participation in the 2014 Sochi Winter Olympics in the form of Dogecoin.
The concept of monetizing the like-button for the purposes of expressing appreciation for someone’s work can be taken a step further in the form of rewarding people for performing smaller skilled tasks. We have seen and will continue to see this business model evolve in the Uber economy as the workplace slowly moves away from the traditional 9-to-5 office environment and more toward a virtual one. Sending money does not have to be an elaborate multi-step process defined by one occasion, but rather can involve a continuous expression of approval that flows like water. One’s wallet can be just as accessible as that like-button. No one can be sure where this is going to take us, but be prepared to see a transformation in how we recognize each other’s efforts in a digital world.
Peer-to-peer lending (P2PL) comprises of the lending activities between unrelated parties (peers) without the need for third party intermediaries (i.e. financial institutions). The recent advent of bitcoin within the P2PL concept has given rise to numerous crypto-lending platforms striving to establish their presence as first movers in this uncharted territory.
In a world where it is becoming increasingly difficult for the non-HNW individual to obtain a bank loan, P2P lending has been proposed as a possible alternative to the traditional financing for the average Joe that is not in the form of a credit card, friend, or family member. However, this is not to say that P2P is ready to replace credit cards. Crypto P2PL allows investing by those seeking yield with relatively little capital. On top of such low barriers to investment entry, crypto P2P lending platforms have provided automation services in the form of auto-investing, where returns are reinvested into new loans according to the investor’s objectives and pre-defined parameters.
As exciting and forward-thinking a concept P2P crypto lending may be, it is not quite ready to take on the fixed income investment industry and claim legitimacy in the eyes of the investing world. To begin a list of reasons why I find this to be the case, I will recall my experience when I visited a crypto P2P lending platform’s website (whose name I will not mention). As I was browsing loan listings, I found some of the prospective borrowers’ usernames to be somewhat disconcerting. The level of childishness and immaturity behind these screen names would scare off any rational investor. A point I think many crypto-anarchists seem to disregard is that investing has more to do with love and trust and less to do with 1s and 0s. For crypto P2PL to gain adoption as a legitimate avenue for fundraising and investing activities, these platforms will have to resemble more of a secure marketplace with with a stellar reputation, and less of a Magic: The Gathering online chat room.
Another hindrance to the prosperity of crypto P2PL has to do with research analysis. Because of the relative youth of this new technology, there is exists none of the guidance retail investors often look to when judging the merits of an investment. This absence of analytical structure would prevent any investment professional from performing the quality of investment research expected of them. It is quite difficult to find unbiased, quality analysis of crypto P2P loan listings as most of the statistics out there are prepared by the P2P lending platforms themselves. Independent, research-oriented coverage of P2P loans is something that will be needed for the space to thrive. When it comes to risk, there are a multitude of factors that increase the risk of taking on a crypto P2P loan to the point where its utilization as a fixed income investment cannot be justified. The exchange rate fluctuation of the loan’s underlying cryptocurrency alone is enough to make any investor sweat (although there are options to denominate such crypto loans in USD or other fiat currencies).
As I continued my browsing through this website, I realized that most borrowers were seeking to borrow money to fund their crypto mining operations. And to my amazement, many of these projects were getting funded! One does not have to be an investment professional to understand the risk involved with this type of loan. However, a strong possibility for this saturation of bitcoin miners on this platform could be that these were early adopters of the technology who are deeply involved in crypto mining. I also got the sense that the platform’s creators were trying to inject a social aspect to the P2P lending experience. One can follow different individuals and keep track of their activities on the platform via the user dashboard, similar to tweets or Facebook updates. While this splash of social media may one day help serve as a tool in developing a reputation system used as a guide for choosing loans, applying a social media approach to P2P lending activities will continue to be a problem so long as there exists the ability to create and use a fake profile that will hide one’s true identity. When it comes to serious investing involving pensions, IRAs, hedge funds, and individual brokerage accounts, the reality is that most investors (and borrowers) will choose a more serious approach to investing without demanding to know the particulars of the specific borrower’s situation.
Right now we see a lack of recourse for investors on these platforms when it comes to late payments and loan defaults. The screening process platform operators execute for adding borrowers into the system continues to be flawed as one can anonymously fake an identity with “good enough” documentation. Through these weak points, a scammer can skip out on their loan without much response from the platform operators as the investor will ultimately be responsible for finding out a borrower’s real identity and pursuing legal action. This is too time consuming and costly, especially if multiple jurisdictions are involved. To help curtail these problems, I would like to see smart contracts one day play a role in the enforcement of loan provisions in the decentralized environment specific to crypto P2PL. A smart contract is a protocol that will execute terms of a contract based on pre-defined parameters. As it stands, loan defaults will usually result in platform operators directing investors toward a particular arbitration service, washing their hands of the matter. The efforts of developers and entrepreneurs in this space could be put to better use in focusing on investor protection and loan securitization.
There will always be cheats, robbers and crooks. And it is naive to believe that bitcoin, P2PL, smart contracts, or blockchain technology altogether, will eliminate this aspect of human nature. However, instead over-exertion directed towards achieving an unrealistic utopia, the cryptocurrency community should work on trying to solve everyday problems for everyday people. Crypto P2P lending platforms should begin to create a dialogue with legacy system industry professionals to learn more about the nature of lending and help come up with answers to the lingering challenges that have plagued the art of money lending.
Despite all of these criticisms, I do see a genuine effort among platform operators toward making the lending process as fair and equitable as they possibly can. I applaud the creation of an open system where people are able to secure financing regardless of race, religion, credit history, criminal history, socio-economics or education. It is understandably difficult for centralized management teams to monitor blockchain transactions of lightning speed and near infinite complexity being made from all parts of the world 24/7. The hands-off approach of the platform operator only works if there is a replacement of the hands.
A group called Women on 20s conducted an online poll for respondents to decide on which person they would like to see replace President Andrew Jackson on our nation’s $20 bill. Among many prominent female figures of American history, Harriet Tubman finished on top. This is the first time in my life I have seen a serious questioning of a figure’s portrait on American currency.
Behind this particular poll is a campaign designed to persuade President Obama to place a female face on America’s paper currency (The results of this poll have been sent to the White House in the form of a petition). While I hold a deep appreciation for this type of effort dedicated to the American female voice, my qualms with some of the symbolism depicted on our nation’s currency today come from a somewhat different perspective fueled with different priorities.
As a society we are increasingly moving away from the use of cash for everyday transactions. With the complexity of cyber security and the increasingly globalized marketplace we find ourselves functioning under, there are many arguments to be made as to why we should become more of a cashless society.
- Credit cards make it easier
- Paypal makes it more secure
- Bitcoin makes it faster
- Cash is difficult to keep track of
In an effort to reduce retail costs, Denmark’s government recently proposed that certain retailers not be obligated to accept cash payments from customers. Kenya is one of the world leaders in mobile payments with the country’s mass adoption of the mobile phone money transfer service called M-Pesa, a service responsible for the country’s transactions valued at nearly half of Kenya’s GDP. Cash use is disappearing all throughout the world. But what I have not heard as being a potential motivating factor for people to stop using hard currency in the United States is the fact that we still maintain portraits of figures on our coins and bills who are associated with one of the darker periods in America’s history: slavery. Fair or not, this type of symbolism and imagery continues to haunt us as Americans, and is a reminder carved in stone of where we have been in the past as a society.
In addition to the utility I find in using cryptocurrencies over paper currency, this dark imagery I see emanating from the King Dollar has in part motivated my increased use of Bitcoin as a method of payment over the past year. However, the decision to not use U.S. hard currency because of the unfortunate symbolism it carries with it and the decision to use cryptocurrency as a method of payment both warrant their own stories with two completely different narratives.
The decision to replace any figure on paper currency, I would hope, involves heavier consideration than collecting the results of an unofficial poll. It’s fair to say that any figure prominently showcased on any nation’s currency should serve at least as a unofficial representative of that country and it’s value system. While I would not be able to cover the particular issue of Harriet Tubman replacing Andrew Jackson on the $20 bill with the detail it deserves, I will raise a few points worth further consideration. The particular period in time when a figure is introduced onto a paper currency is of great relevance in judging the intentions behind such decision making. Any serious candidate for this honor would have to be held in great public favor. So I ask this question: Does President Andrew Jackson, as a political figure, embody our present-day collective values?
For someone who advocated the expansion of slavery, took pride in his propensity for violence, and detested paper currency, Andrew Jackson would seem like an odd choice for being one of the prominent faces of our currency. Our current legal system would have no issue in supporting Jackson to remain on the $20 bill over Tubman. They would most likely argue that the country viewed Old Hickory as operating within the confines of the law during his lifetime while seeing Harriet Tubman as a criminal via her activities involving the Underground Railroad. Should THIS be taken into consideration when deciding whose picture should placed on our currency, potentially serving as the face of our culture?
Regardless of whose image is placed on U.S. legal tender, electronic/mobile transactions will not have such images attached to them (unless you embed an image within a bitcoin transaction on the blockchain….. but that’s a whole other discussion). Because of all the choices in payment methods available to us in 2015, we can afford to toss around the idea of changing the faces on our money. Paper currency just doesn’t seem to be as sacred as it used to be. If a discussion to replace Andrew Jackson, or any other person, with a new face on our paper money is to take place with action to follow, it is very important we approach it with deep care and thought. We must shy away from the all too common degree of laziness that comes with hashtag activism. It is important for us to get this right.
The transfer of wealth between the “Baby Boomer” generation and Millennials is something that has recently come up as a topic of discussion within the financial services industry. 2015 is the year Millennials are projected to surpass boomers in population, a population that is expected to leave trillions of dollars to the next generation over the next 50 years. In Generation X and Y as the New Wealth Holders: The Implications of a Generational Shift in Financial Advising Clientele, Professor Helen Simon and I explore this projected wealth transfer and the implications it will have on the financial advising industry in years to come.
This article appears in the Spring 2015 issue of The Retirement Management Journal.
Seven months ago I joined BTCJam as Lead Backend Engineer, and I must confess at the time my knowledge about bitcoin was very limited. All I knew was that it was a digital money people use to buy funny stuff, right?
For the past few months I have been reading and learning a lot, and although I am no expert yet, many people including my friends consider me to be a “bitcoin master.” Some of the question they always ask me are, “‘what are all that bitcoin transactions we see on blockchain.info?’ ‘Why do I see a lot of addresses on the left side (inputs) and several others on the right side (outputs)?’ ‘Why is there a seemingly random transfer to a weird address along with the amount that I actually transferred?’ and ‘What about the transactions where I see hundreds of addresses on the right side?'”
If you ever thought of these…
View original post 902 more words