Closed caiyanzhong closed 5 years ago
var metadata = WalletMeta(source: .newIdentity) metadata.network = Network.mainnet metadata.name = "Wallet" metadata.chain = .eth let (mnemonic, identity) = try Identity.createIdentity(password: "121212", metadata: metadata) let ethereumWallet = identity.wallets[0] let bitcoinWalelt = identity.wallets[1] print(mnemonic); print(ethereumWallet); print(bitcoinWalelt); let mnemonicStr = "..." let www = try WalletManager.importFromMnemonic(mnemonicStr, metadata: metadata, encryptBy: "111111", at: "asas")
创建钱包后 调用WalletManager.importFromMnemonic崩溃
创建钱包后 调用WalletManager.importFromMnemonic崩溃