⎗ ✓ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20<script type="text/javascript" src="https://unpkg.com/filecoin.js"></script> <script type="text/javascript"> (async () => { const connector = new FilecoinJs.HttpJsonRpcConnector({ url: "https://api.node.glif.io" }) const hdWalletMnemonic = 'test' const hdDerivationPath = `m/44'/461'/0'/0/0` const lotusClient = new FilecoinJs.LotusClient(connector) const walletProvider = new FilecoinJs.MnemonicWalletProvider( lotusClient, hdWalletMnemonic, hdDerivationPath ); const myAddress = await walletProvider.getDefaultAddress(); console.log(myAddress) // f1hzeuwilciofsesevmhbsbvaistgyludgmhuphxi })().then().catch() </script>