instance to the wallet
pointer to the passphrase
length of the passphrase
pointer to the pincode
length of the pincode
ErrorCode
WalletT w; int rt = tagion_wallet_create_instance(&w); assert(rt == ErrorCode.none); string passphrase = "some_passphrase"; string pincode = "some_pincode"; rt = tagion_wallet_create_wallet(&w, &passphrase[0], passphrase.length, &pincode[0], pincode.length); assert(rt == ErrorCode.none);
Create new wallet. Note requires post save of Account, RecoverGenerator and DevicePIN