The basis of Bitcoin and other cryptocurrencies is a blockchain - a database where all the transactions that ever happened are written in.
Because of the data in blockchain your bitcoin wallet can calculate how many bitcoins you have. It searches for all the input and output transactions from and to your address and calculates the current balance (note that not every cryptocurrency works this way - Ethereum keeps a list of balances instead).
Electrum wallet is a bitcoin wallet that helps you receive, store and send bitcoins. It’s a SPV client which means it doesn’t download the whole Blockchain and thus saves you a significant space on your disk.
You’ll need an Electrum wallet and some small amount of bitcoins in it for this tutorial. Download it here: [http://ele...Read more
I'm trying out Twitter Streaming API to check for new tweets that contain some special characters, like emojis. I'm using Tweepy and the biggest challenge I faced, was setting up emoji unicode IDs the correct way.
If I wanted to find an airplane emoji with a 4-digit id like 2708, there were no problems:
But the problem occured when I wanted to use an I...Read more
It is very important to have a good template structure, which is easier to maintain. First of all you should create a base.html file, which would contain all of the code that you want to have in every html file (like head, navigation bar, footer). If your project is bigger and modular, you might also have “sub” base files in every module of your web app.
I mostly use Python on Google App Engine for my web development projects with Jinja2 as a templating engine. Jin...Read more