iOS
Last updated
Last updated
GitHub:
MiniWallet only supports the EOS network. Via MiniWallet, user can do some special actions without pulling up TokenPocket. This way can provide a better user experience.
Initialize in AppDelegate.m
, in method -application:didFinishLaunchingWithOptions:
Build the data and replace the permission
field value in the field action
in action with the perm
field passed by calling auth
.
Call TPApi perm:(NSString *)perm isLinkActions:(NSArray<TPLinkAction *> *)actions account:(NSString *)account completion:(void (^)(BOOL permExisted,BOOL linked,NSError *error))completion
check action binding fixed state.
If the second step binds successfully, call Auth
directly.
If the binding fails in the second step, the developer needs to replace the permission
field with active
or owner
in order to pull up the wallet to perform the operation.
seed
action