Skip to content

Instantly share code, notes, and snippets.

View alexanderattar's full-sized avatar
💭
⚡️

Alexander alexanderattar

💭
⚡️
View GitHub Profile
@alexanderattar
alexanderattar / wallet.js
Last active December 17, 2021 23:52 — forked from pedrouid/wallet.js
Example with ethers.js (Ethereum Wallet)
const ethers = require('ethers')
const standardPath = "m/44'/60'/0'/0";
const activeIndex = 0;
function generatePath(index) {
const path = `${standardPath}/${index}`;
return path;
}