CosmosWallet.convert constructor
CosmosWallet.convert(
- CosmosWallet wallet,
- CosmosNetworkInfo networkInfo
Creates a new CosmosWallet instance based on the existent wallet
for
the given networkInfo
.
Implementation
factory CosmosWallet.convert(
CosmosWallet wallet,
CosmosNetworkInfo networkInfo,
) {
return CosmosWallet(
networkInfo: networkInfo,
address: wallet.address,
privateKey: wallet.privateKey,
publicKey: wallet.publicKey,
);
}