Cyano
mobile is the mobile provider's
standardized open source implementation, and it follows the CEP-1
proposal. The PC
version of the dAPI
has been extended to the mobile version, covering the three usage scenarios:
Integrated the dAPI-mobile
QR code scanning mechanism to login and invoke smart contracts
Integrated cyano-SDK
dApp
wake call mechanism
Integrated the dAPI-mobile
embedded dApp
login and smart contract invocation method mechanism
In the cyano-mobile
app, the dApp
data request URL
follows the CEP-1
standard:
import android.net.Uri;import android.util.Base64;​import com.alibaba.fastjson.JSON;​String param = Base64.encodeToString(Uri.encode(JSON.toJSONString(map)).getBytes(), Base64.NO_WRAP).toString();String url = "ontprovider://ont.io?param=".concat(param);
Ontology has implemented and made CEP-1 standard wallets available: