RSSAmplifier

Blog

Dev with Codemon 💀

Welcome to my official blog where I share most of the issues I encounter while programming and my solutions to them using my favourite javascript libraries and frameworks. Author - Alfred Johnson Awa

blog.codemon.meRSS feed ↗20 posts

Latest posts

The Tech Industry in 2026: What Engineers Should Prepare For

The tech industry is changing fast—but not in the way most people think. By 2026, success in engineering won’t be about chasing the newest tools or stacking buzzwords on a résumé. It will be about depth, ownership, and usefulness. Here’s a grounded l...

gRPC Streaming Patterns

1. Server Streaming RPC: Description: In this type of RPC, the client sends a single request to the server, and the server responds with a stream of messages. The client reads from this stream of responses until there are no more messages. Use Case...

Sending Raw Emails with Attachments using AWS SES in Go

Email communication is a crucial aspect of many applications, and Amazon Simple Email Service (SES) provides a reliable and scalable solution for sending emails in the Amazon Web Services (AWS) environment. I've created a go package that facilitates ...

SHA HMAC signature verification for Paystack Webhook in Go lang

Introduction This article shows a complete setup on how you can verify a signature sent by paystack when they make a POST request to your server. I'm using the bun http router as my go lang framework. I really do not have strength for long talks, so ...

2023: I Escaped

Funny title, but that's the reality from January to December. So, you're here to hear some gist about my 2023, say less. First I just want to take a moment to laugh small, 😂😂😂😂 why? the plans I had for 2023 come be like say na small pikin write a...

Generating a Bitcoin Address from a Private Key Using JavaScript

Bitcoin, the pioneering cryptocurrency, relies on cryptographic keys for secure transactions. This article walks through a JavaScript code snippet that demonstrates how to generate a Bitcoin address from a private key using the bitcoinjs-lib library....

[Code Snippet]Generate Bitcoin Address Using bitcoinjs-lib

import * as bitcoin from 'bitcoinjs-lib' import ECPairFactory from 'ecpair'; import * as ecc from 'tiny-secp256k1'; // Generate a new random key pair const ECPair = ECPairFactory.ECPairFactory(ecc) const keyPair = ECPair.makeRandom(); // // Get t...

Go: Handle OTP creation & validation in memory

To generate a unique token/OTP for each verification request and associate it with the user's email or session in Go, you can use a combination of cryptographic libraries and data structures. Here's an example implementation: package main import ( ...

PHP: Send Personalized Emails to Multiple Users

Have you ever wanted to send bulk emails that have dynamic content to multiple users? Well, you are not alone and I'll be showing you the exact code snippet I used for this purpose but in PHP. In order to successfully send emails, I made use of SendG...

2022 Done & ?

Hello guys and welcome to my youtube channel 😂😂😂😂 .. Yo! What's good fam? It's that time of the year again, actually, the third time doing this review thingy, but this time around it's even more interesting, a lot of interesting actions generally...

Polymorphism in Go lang

Polymorphism is the ability of an object or function to take on multiple forms. In the Go programming language, polymorphism is supported through the use of interfaces. An interface in Go defines a set of methods that a type must implement to satisfy...

Upgradeable Smart Contract on Polygon Network

Genesis 1:1 In this blog post, we will learn about upgradeable smart contracts, different upgrade patterns, reasons behind smart contract upgrades, and finally, how to utilize the Hardhat framework to aid in deploying and implementing smart contracts...

Openzeppelin Defender

Are you a seasoned smart contract developer or a regular subscriber to the "Patrick collins" youtube channel? Then you probably have heard about OpenZeppelin, or even used some solutions and products by this amazing web3 company. Just in case you are...

Two Number Sum

The Question Write a function that takes in a non-empty array of distinct integers and an integer representing a target sum. If any two numbers in the input array sum up to the target sum, the function should return them in an array, in any or...

Hash Tables

What's a Hash Table This is a data structure seen and proven to be very efficient for data storage, insertion, and retrieval. Unlike an array data structure, hash tables store their data in a key to value pair format, at least on a higher level. Con...

Understanding Generics in Rust lang

Generics is a fundamental part of the rust programming language and can sometimes be a pain to truly understand its use and purpose. In this article, I'll try and explain this concept like you are a kid ( if you are not ). How to identify a generic G...

Deploy an Existing React Application to Heroku in 2022

Lee to the Mao (Lmao) , yes in 2022! Because all those articles out there are really old and do not work anymore. So if you are like me who almost lost your job because this react app just refused to deploy properly to Heroku, well You might just tip...

Unit Testing your Smart Contracts

Writing tests for your smart contracts are just as important as running audits on them too. There are a few reasons why you might want to write full coverage tests for your smart contracts, one of which would be to save you some bucks. How? Deploying...

How to use Uniswap Interface in Hardhat

For some extraordinary reasons, you need to make use of uniswap to swap assets, perform some liquidity operations, or any other cool thing uniswap has to offer. You probably started off from remix IDE, and now you want to bring it down to your local ...

PART 2: OminiSwap Project Setup

In a previous article which can be found here, we talked about this awesome project to be built. I asked a few questions concerning the project, one of which was "What shall we name our token?" From the look of things, we've got a name already. Thro...