Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 947 Bytes

profile.md

File metadata and controls

55 lines (40 loc) · 947 Bytes

Profile generator

Generates profiles (wallets) for different networks. The result is stored in encrypted .profiles file. Decryption will generate the json:

type Networks = "btc" | "evm" | "sol" | "tia" | "atom";

type Profile = {
  [id: string]: {
    mnemonicᵻ: string; // encoded
    wallets: {
      [key in Networks]: {
        address: string;
        pkᵻ: string; // encoded
      };
    };
  };
};

Supported networks and path

  • btc, m/84'/0'/0'/0/0
  • eth, m/44'/60'/0'/0
  • atom, m/44'/118'/0'/0/0
  • tia, m/44'/118'/0'/0/0
  • sol, m/44'/501'/0'/0'

Usage

Generate profiles

make profile

Recover profiles from mnemonics

  1. Put .mnemonics.json in repository root with the following scheme:
["first mnemonomic words...", "second mnemonomic words..."]
  1. Run recover script
make recover

Decrypt

make decrypt in=clusters/main/.profiles out=clusters/main/.profiles.json