Bitcoin is a cryptocurrency. Bitcoins do not ‘exist’ per se as do gold or real coins. They only exist as transactions on a public ledger, the blockchain. Owning bitcoins means to have access to a cryptographic key pair:

  • a public key to which a previous transaction has sent some bitcoins. This is called a bitcoin address.
  • the corresponding private key which can be used to initiate bitcoin transactions.

The bitcoin address is like an IBAN in the bitcoin network where you can send bitcoins from and receive bitcoins to. The balances of all bitcoin addresses in the bitcoin network are…

Photo by CHUTTERSNAP on Unsplash

ESBuild is the cool new kid in the TypeScript family! It is a JavaScript bundler written in Go which supports blazing fast ESNext & TypeScript transpilation and minification.

Using ESBuild to transpile Typescript

The esbuild-loader is a drop in replacement for ts-loader. After installing esbuild-loader with

npm i -D esbuild-loader

update the Webpack config to replace the ts-loader with esbuild-loader:

module.exports = {
module: {
rules: [
test: /\.ts$/,
- loader: 'ts-loader',
- options: {
- transpileOnly: true
- }
+ loader: 'esbuild-loader',
+ options: {
+ loader: 'ts', // also 'tsx' is supported
+ target: 'es2016'
+ }

Add type checking

Lukas Gamper

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store