Blockchain Developer | Publish0x
Blockchain Developer

Blockchain Developer

Tutorials, walkthrough, hints and tips on Blockchain Development for all levels of expertise.


How To Build a Verifiably Random Lottery Smart Contract on Ethereum

11 Jun 2020 6 minute read comments alexroan

True randomness has been near impossible on Ethereum. This is because transactions need to be verified by multiple nodes on the network to be confirmed. If a smart contract function were truly random, each node that verified a transaction using that...

Lessons I Learnt Being Addicted to Crypto

11 Jun 2020 8 minute read comments alexroan

I’m fascinated by Cryptocurrency. If you are too, this fascination was likely born from excitement. When the market skyrocketed in 2017, I believed that becoming wealthy beyond my wildest dreams was genuinely possible. For the first time in generatio...

How to Test Ethereum Smart Contracts for Access Restriction

11 Jun 2020 3 minute read comments alexroan

Prerequisite: Ths article assumes an understanding of Solidity and Ethereum smart contracts. Controlling access to smart contracts is vital to ensuring security. Common patterns, like OpenZeppelin’s Ownable and AccessControl contracts, enable develop...

What The Bitcoin Revolution Will Look Like

11 Jun 2020 5 minute read comments alexroan

What happens when the foundations of our financial system are disrupted? “The Times 03/Jan/2009 Chancellor on brink of second bailout for banks” That’s the message digitally etched into the first block in a chain that would eventually bring about t...

The Difference Between Bitcoin and Ethereum, and Why There Are So Many Other Cryptocurrencies

24 May 2020 4 minute read comments alexroan

Cryptocurrency is a young, intimidating industry for newcomers. There are so many buzzwords, acronyms and coins that it seems impossible to make any sense of it. Here, we’ll go through the differences between some of the top Cryptocurrencies, why the...

How I Created A Crypto Onboarding Platform, And How You Can Too

24 May 2020 5 minute read comments alexroan

Buy Crypto Without The Fuss Using Web3 And Ramp Network. Buying Crypto is painful If you’re not uploading your passport or driving license for tedious KYC checks, or waiting for your bank account to be approved, you’re waiting days to withdraw your c...

You Can Now Buy Crypto Inside DApps, Here’s How

20 May 2020 1 minute read comments alexroan

Buying crypto has never been so easy Buying crypto has always been a bit of a pain. For most people (like me), it involves going through a major centralised third party like Coinbase. To be quite honest, if newbies to the crypto space ask me how to b...

How to Generate Random Numbers on Ethereum Using VRF

20 May 2020 7 minute read comments alexroan

How Chainlink Solved Ethereum’s “Random Problem” Random numbers and Blockchains have always been in disagreement. Until now, a verifiably random function has never existed on the Blockchain. The problem stems from the fact that when transactions are...

How to Detect When a User Changes Their Metamask Account

20 May 2020 1 minute read comments alexroan

Prerequisite: A beginner-level understanding of Ethereum and web3.js. User experience is one of the biggest roadblocks to onboarding users onto your decentralised application (DApp). Modern web browsers don’t support web3 by default, so most users ha...

The Top 5 Web3 JavaScript Functions for Ethereum DApps

15 May 2020 1 minute read comments alexroan

Web3 bridges the gap between the traditional internet and the Ethereum blockchain. It enables users to interact with your DApp through a browser. When using JavaScript for your front end, knowing the ins and outs of Web3JS is essential. Here is a lis...