A few posts back I was talking about my half-baked idea of accepting bitcoins in exchange for my books. Here’s the post where I speak about it. Unfortunately, I was using Mycelium widgets, as I explain in the post, but I ran into a problem. It is the same problem described on this Reddit.
The Mycelium widgets are needed to sell my books, and I have more than one book. With multiple books therefore, I need multiple widgets. Unfortunately I just couldn’t get the Mycelium site to create multiple widgets. I created a widget for my first book Galaxy Dog, and it worked, but when I tried to create a new widget for my next book Iron Dart, the Mycelium site said that my public key had already been used in the first widget and could not be used again. It seems each product widget needs its own public key, which doesn’t make much sense, at least not to me. I was limited to one single widget, selling one single product.
As well as being restricted to a single product, it also looked like the widgets are not currently under development. On the other hand, they are visually appealing, very easy to create, without the need of any programming skills and they work great. They could be a very good solution for a single book, but unfortunately not the various series of books that I want to sell in exchange for Bitcoin.
In the end, I couldn’t get round the problem so instead I just stripped out the Mycelium widgets from my Books for Bitcoins page and went looking for a replacement.
I ended up choosing the buttons supplied by Blockonomics. Their website isn’t super easy to navigate, but it does look to be under development, so will probably become easier in the near future.
It is also written for technically minded people, of whom I am definitely not one. One of the first things the site asks you when you create an account is, “What is your callback URI?” How in the name of heck am I supposed to know what my callback URI is? Luckily there is a little button you can press to skip this and put it in later.
For anyone interested in what a callback URI actually is, here is what Wikipedia has to say about it:
In computer programming, a callback is any executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at a given time. This execution may be immediate as in a synchronous callback, or it might happen at a later time as in an asynchronous callback. In all cases, the intention is to specify a function or subroutine as an entity that is, depending on the language, more or less similar to a variable.
I’ve read this a few times now and to my mind it does not seem to contain meaning. It is like an abstract painting, but created using words connected to computer programming.
Luckily, I never did have to work out what it all means. In the end the blockonomics site seemed to do all the hard work for me, even creating a callback URI. It then generated some HTML for me to copy and paste into my site. Now that, I can handle. So now I have my new, slightly different “Pay with Bitcoin” buttons.
But that’s not all, as well as working on getting the buttons to do their thing, I’ve also discounted all the books for people paying with Bitcoin. They are all one whole dollar cheaper for Bitcoin customers, so check out the new-look page at this link. Or use the Amazon link below to buy Galaxy Dog with old fashioned fiat money.
Galaxy Dog (Dark Galaxy)
The fist sci-fi book I ever wrote, and stil the one that sells the best, is Galaxy Dog. It is the first book in the Dark Galaxy series and it is a story of adventure, spaceships, and rebellion across a galactic empire. A small group of friends, one woman, one man, and one robot incite a revolt and take on the might of the Tarazet Deep Space Navy. They find an immensely powerful alien spaceship so, even though the rebellion is extremely outnumbered, they still stand a chance. Galaxy Dog combines the action of military sci-fi with the heart of space opera. There are robots, aliens, space battles, and all the good things that make sci-fi so enjoyable. Galaxy Dog is available from Amazon right now, so just click the Amazon link and download a copy.