Skip to content

Instantly share code, notes, and snippets.

View niponchi's full-sized avatar

Nipon Chinathimatmongkhon niponchi

View GitHub Profile
@niponchi
niponchi / vanity.js
Last active January 24, 2024 16:48
Generate evm address with matching suffix
const ethUtil = require('ethereumjs-util')
const crypto = require('crypto')
function generateVanityAddress(suffix) {
let address = ''
let privateKey
suffix = suffix.toLowerCase()
while (true) {

Keybase proof

I hereby claim:

  • I am niponchi on github.
  • I am niponchi (https://keybase.io/niponchi) on keybase.
  • I have a public key ASCCwgqpU0lBn7kDB9IOA8OBSz8NoNW2iXIUTdx4N2ThFgo

To claim this, I am signing this object: