SimpleWallet Protocol Compatible

Sample code for redirect to MYKEY

Reminder: In Android client, for avoid conflict with other wallets, developer can use following code to rediect to MYKEY precisely through set the MYKEY packge name: com.mykye.id

try {
    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
    intent.setPackage("com.mykey.id");
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    context.startActivity(intent);
} catch (Exception e) {
    e.printStackTrace();
}

Login and Transfer

MYKEY follows the SimpleWallet protocol implementation. See the following document for details:

https://github.com/southex/SimpleWallet/blob/master/README_en.md

Beside support login and transfer of SimpleWallet specification,MYKEY also additionally supports contract and signature method.

Special Notice: MYKEY account structure is different with other EOS account, if dapp verify signature in their server side, should use the public key of Reserved, more details see this Document

Call Contract

Sequence diagram for Mobile applcaiton wake up

Please pass the data to MYKEY as follows, the data format is json:

Sign

Sequence diagram for Mobile applcaiton wake up

Please pass the data to MYKEY as follows, the data format is json:

Last updated

Was this helpful?