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
};
};
};
};
- 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'
Generate profiles
make profile
Recover profiles from mnemonics
- Put .mnemonics.json in repository root with the following scheme:
["first mnemonomic words...", "second mnemonomic words..."]
- Run recover script
make recover
Decrypt
make decrypt in=clusters/main/.profiles out=clusters/main/.profiles.json