@@ -3,7 +3,7 @@ import { Invite } from 'lib/types/Invite';
3import { Just, Nothing } from 'folktale/maybe';
3import { Just, Nothing } from 'folktale/maybe';
4import { randomHex } from 'web3-utils';
4import { randomHex } from 'web3-utils';
6− attemptNetworkSeedDerivation,
6+ deriveNetworkSeedFromUrbitWallet,
7 deriveNetworkKeys,
7 deriveNetworkKeys,
8 CRYPTO_SUITE_VERSION,
8 CRYPTO_SUITE_VERSION,
9} from 'lib/keys';
9} from 'lib/keys';
@@ -66,10 +66,6 @@ export const configureKeys = async (
66 _point: number,
66 _point: number,
67 proxy: string,
67 proxy: string,
68 nonce: number,
68 nonce: number,
71− authMnemonic: string,
73 urbitWallet: any
69 urbitWallet: any
75 const from = {
71 const from = {
@@ -77,15 +73,7 @@ export const configureKeys = async (
80− const networkSeed = await attemptNetworkSeedDerivation({
76+ const networkSeed = await deriveNetworkSeedFromUrbitWallet(urbitWallet, 1);
89 // TODO: do something here?
77 // TODO: do something here?
90 if (Nothing.hasInstance(networkSeed)) {
78 if (Nothing.hasInstance(networkSeed)) {
91 console.log("Network key Error: couldn't derive network keys");
79 console.log("Network key Error: couldn't derive network keys");