Jennifer Bland header image
≡ Menu

Layer 1 vs Layer 2: What are the differences between Blockchain Layers

To understand the differences between Layers, you must first understand scaling. In Blockchain technology, the term scaling refers to an increment in the system throughput rate, as measured by the number of transactions performed per second.

Why is Scalability Important?

Now that description is a mouthful so let's break it down. As more and more people and applications start to use the blockchain the amount of traffic on the blockchain increases. Scalability is the term used to describe how well a blockchain is able to handle this increase in transactions.

[continue reading…]

Coins vs Token: What is the Difference?

If you are new to crypto, you may have heard the terms coins and tokens. You might wonder if they are the same? The simple answer is they are not the same or interchangeable.

Coins and tokens both represent a store of value. This is similar to fiat currencies like the United States Dollar. Crypto coins are a form of money, while tokens represent something that can be assigned a price.

Technically all coins are considered tokens but not all tokens are considered coins. Confused? Here are the differences:

[continue reading…]

WTF Is The Blockchain?

Blockchain Overview

Blockchain is an extremely hot topic nowadays: you'll see articles describing this phenomenon in almost every newspaper and magazine, even where you would hardly expect it to see. Even if you haven't read about Blockchain in your favorite newspaper or magazine, chances are you have heard Elon Musk tweeting about it.

Cryptocurrencies like Bitcoin and Ethereum are powered by a technology called the blockchain. At its most basic, a blockchain is a list of transactions that anyone can view and verify. The Bitcoin blockchain, for example, contains a record of every time someone sent or received bitcoin.

[continue reading…]

Utilizing the Coinbase API in a Node.js Application

In the previous article, I showed you how to use the Coinbase API to authenticate your application so that anybody can use it. In this article, I will show you how to build on this by

  • getting user details
  • getting a list of all user accounts
  • get a list of all transactions (buy, sell, etc) that the user has completed for each crypto coins they own.

Getting User Details

Let's look at the Coinbase API documentation on about showing the current user details. You can view documentation here.

The documentation says we need to make a GET call to the /v2/user endpoint to get current user's public information. To get user's email or private information, use permissions wallet:user:email and wallet:user:read.

[continue reading…]

Accessing the Coinbase API using OAuth2

Coinbase is a cryptocurrency exchange where you can buy popular coins like Bitcoin and Ethereum. In these series of articles I will show you how to utilize the Coinbase API to see a list of cryptos that you hold as well as all the transactions for a specific crypto coin. We will be creating a Node.js application to access the Coinbase API.

Coinbase API Options

You can access the Coinbase API here. Coinbase has two types of APIs

  • API Key
  • OAuth2

The API Key is used to access your account on Coinbase. The OAuth2 API is used to authenticate to coinbase for any user and then have access to all the API functionality.

For this demo, I want to make this available to everyone to use not just myself so we are going to use the OAuth2 API.

[continue reading…]