Between Polygon finding traction to rival Ethereum and Solana raising 314 million dollars, Tezos is an improbable topic. Correct, that mega ICO from 2017 that became embroiled in legal issues and went off the hype radar.
Yet, the Tezos ecosystem appears ready for take-off. Hic Et Nunc and Kalamint have become top NFT marketplaces, and plans announced by McLaren, OneOf and Red Bull Racing herald continued momentum. Likewise, DeFi is finding its wings on platforms like Kolibri, Plenty, Quipuswap and Wrap. …
I built my first Ethereum (prototype) dapp with Truffle. It was, and still is, a Swiss army knife for Ethereum developers. Recently, however, I tried Hardhat as an alternative and was blown away by its convenience.
Hardhat and Truffle both provide an environment to compile, test and deploy Solidity smart contracts. Hardhat innovates on Truffle in several ways:
You can watch this video for a more detailed overview. In…
The cryptoverse defines interoperability as the ability of different chains to communicate.
For many, this is core to the vision of the decentralised web. No single chain can suit all use cases, so — the wisdom goes — the future will be multichain. Ergo, we need robust frameworks for different chains to communicate, lest the decentralised web become a Balkanised ecosystem of silos.
As it happens, this idea underpins Cosmos and Polkadot, two flagship projects building generalised architecture for inter-blockchain communication.
With Bitcoin attracting unprecedented interest and decentralised finance taking the crypto world by storm, it is a good time to expand on a fundamental concept in the cryptocurrency movement: self-custody.
When you deposit money in the bank, you are trusting the bank to preserve your assets. Should the bank go bust or “lose” its internal ledger, your funds are — evidently — at risk. …
Over the previous year, my programmer’s journey has brought me to the realm of Elixir, a functional programming language that compiles to the Erlang VM. While Elixir offers syntactical joys like pattern matching and the pipe operator, it is often highlighted as ideal for highly concurrent and fault-tolerant applications.
What this means in practice eluded me for some time, until I understood how three native modules — GenServer, DynamicSupervisor and Registry — can work together.
Imagine the scenario of a multiplayer game. In building it, you may need:
For any application calling external API endpoints, a frequent point of inquiry is how to best write automated tests for the client logic associated with API calls.
Consider the following
UserService. It simply calls a server endpoint (
APIService) and returns a formatted response.
There are several reasons why tests for
UserService should be decoupled from the actual
APIService. On a fundamental level, servers usually exist to be stateful, and this is problematic if you want to write deterministic tests for isolated scenarios. Namely, if your tests rely on actual users, what happens if their profiles are deleted or updated?
In this post, I would like to underscore five steps you can take to enhance code quality and developer agility from the outset.
Although the implementation detail is intended for React developers, the principles apply across languages and frameworks.
Over millennia, our body clocks have found harmony with the cycle of natural light. The blue wavelengths of the daytime tend to be stimulating, whereas the red wavelengths of the sunset set the stage for sleep.
Modern life, however, has disrupted this. We can spend our day indoors with little exposure to sunlight, and our evening under (blue) artificial light. This has implications on mood, sleep and wider health. The coronavirus pandemic can only have exacerbated this.
The good news: a few simple life hacks can help you manage your light exposure — without switching to candlelight or abandoning office…
For fans and detractors alike, Sacha Baron Cohen is a man who takes comedy to new dimensions. His latest product is, for better or worse, decidedly non-comedic.
The Spy recounts the story of Eli Cohen, the Israeli spy who infiltrated the upper echelons of Syria under the pseudonym Kamel Amin Thabet in the early 1960s. As a diaspora Levantine, I was bound to watch it with a lens of identity — eager for the cultural references, yet sensitive to the political undertones.
On the latter count, The Spy joins a list of cinematic works that extend human experience only sparingly…
An evolving polymath aspiring to share useful thoughts.