spaceship banner
An Author’s Blog

My Books Now Discounted for Bitcoin

· by Brett · Read in about 4 min · (789 Words)


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) Start Reading the Dark Galaxy Trilogy

The first book in the Dark Galaxy Trilogy, always the best place to start, is Galaxy Dog. It’s a little more old-school and fun than a lot of the sci-fi that is around at the moment. It has spaceships, robots, battles, and brave warriors rebelling against an evil empire. Click the book cover and go to the storefront you prefer to buy it now, or follow this link.

This is a universal book link (UBL) and you will be greeted with a page displaying all the places the book is available online. Just select the storefront you prefer and, if you want, also make this your default bookseller. From then on, every time you click a UBL you will be taken directly to the book you are interested in, on the storefront you prefer. The UBL even allows you to go to the Amazon store that matches your region.

Comments