Function createWalletFull

  • Create a Monero wallet using client-side WebAssembly bindings to monero-project's wallet2 in C++.

    Example:

    const wallet = await moneroTs.createWalletFull({
       path: "./test_wallets/wallet1", // leave blank for in-memory wallet
       password: "supersecretpassword",
       networkType: moneroTs.MoneroNetworkType.STAGENET,
       seed: "coexist igloo pamphlet lagoon...",
       restoreHeight: 1543218,
       server: "http://localhost:38081"
    });


    const wallet = await moneroTs.createWalletFull({
       path: "./test_wallets/wallet1", // leave blank for in-memory wallet
       password: "supersecretpassword",
       networkType: moneroTs.MoneroNetworkType.STAGENET,
       seed: "coexist igloo pamphlet lagoon...",
       restoreHeight: 1543218,
       proxyToWorker: false, // override default
       server: {
         uri: "http://localhost:38081",
         username: "daemon_user",
         password: "daemon_password_123"
       }
    });

    Parameters

    Returns Promise<MoneroWalletFull>

    the created wallet

Generated using TypeDoc