Skip to content

Instantly share code, notes, and snippets.

View MohamadFazuan's full-sized avatar

Mohamad Fazuan Bin Mohd Wafat MohamadFazuan

View GitHub Profile
@MohamadFazuan
MohamadFazuan / billplz.py
Last active November 6, 2022 16:35
Billplz-API-in-Python-Flask
import requests
import json
import base64
from flask import Flask,redirect
app = Flask(__name__)
@app.route('/')
def _init_():
api_key = '70eaae3d-39fd-408a-9b06-0580e588f3dfe'
@MohamadFazuan
MohamadFazuan / create_wallet.js
Last active May 18, 2022 01:29
Create mulitple wallet in single mnemonic passphrase
var bip39 = require('bip39');
var bip32 = require('bip32');
var web3sol = require('@solana/web3.js');
var ethers = require('ethers');
const bitcoin = require('bitcoinjs-lib');
const { base58 } = require('ethers/lib/utils');
const mneamonic = bip39.generateMnemonic();
console.log(mneamonic);
const seed = bip39.mnemonicToSeedSync(mneamonic).slice(0, 32);