How do you create/add additional keypairs?
chrisabrams opened this issue · 2 comments
chrisabrams commented
Since you can select the index of the keypair, how would you create/add new ones?
chatch commented
hi @chrisabrams, all keys are generated deterministically from the seed. so if you need a new one just pick a new index down the chain and fetch the keypair for that index.
chatch commented
specifically, use getKeypair:
wallet.getKeypair(idx)