Blockabc

@blockabc

Blockabc at Hackmd

Public team

Community (0)
No community contribution yet

Joined on Jul 6, 2020

  • 本文描述了移动客户端 Dapp 页面控制 Webview 行为和样式的 SDK。 注意,这里只是 ABCWallet 的配置,细节部分会和 CCTip Box 有不同。 Webview SDK 分两种,一种是 URL 预置型的,一种是 JS 调用型的,现已经集成到了 Dapp 协议 文档中。 URL 预置型 SDK 可以通过 url 参数(_wv和其他配置参数)、或者上传 dapp 时配置一些参数来配置 Webview 的行为。 _wv 参数
     Like  Bookmark
  • 本文档描述了如何通过 URL 来定制 Webview 的表现。 基本描述 CCTipBox URL 配置参数的基本原理和实现和 ABCWallet 的 URL 配置参数基本一致,只有具体参数略有区别,具体看本文档。 ABCWallet Webview URL Configure _wv 参数 1 是否横屏 2 是否全屏(全屏会隐藏状态栏、导航栏、返回按钮、标题,设置颜色对相关元素无效。保留胶囊按钮,此时可设置胶囊按钮位置)
     Like  Bookmark
  • 调试 可以把本地的跑起来 环境判断 客户端需要在 Webview 的 UA 上面加上 CCTip 的信息,还有客户端的版本号,如下: CCTipBox/1.2.3 另外需要加上语言信息,如下: Language/zh-cn
     Like  Bookmark
  • English Version 中文版本 接入流程 前端接入 ccpay.js 后端接入 CCPay 商户接口 提供商户信息给 CCTip 平台,获得正式&测试环境的 appkey。 提供应用信息
     Like 1 Bookmark
  • English Version 中文版本 version 2.1 2.0 更新多一种支付回调,原 payto 接口的名称修改 payback,老版本的依然兼容 2.1 修改原来的 appKey 和 appSecret 名称为 businessKey 与 businessSecret 2.2 增加一些校验说明以及增加 recordId 检测接口
     Like 1 Bookmark
  • English Version 中文版本 2.0 Updated one more payment callback, changed the original payto interface name to payback. The old version is still compatible 2.1 Changed the original names appKey and appSecret to businessKey and businessSecret 2.2 add some verification instructions and add recordid detection interface [TOC]
     Like 5 Bookmark
  • Pre information Because we have a test development environment and a release development environment, we require that your application should have a test and release environment. At the same time, when accessing, you should first debug in the test environment, and then switch to the formal environment. CCPay system is a subsystem of CCTip, which is responsible for payment related functions. 1. Provide relevant information In order to facilitate us to help your robot register with ccpay system, please provide the following information: Your robot is based on the ID of the Telegram user system. Generally speaking, it is a plastic string; Provide us with your robot's username;
     Like  Bookmark
  • 前置信息 因为我们具备有测试开发环境和正式开发环境,所以我们要求你们的应用应该具备测试和正式环境,同时在接入的时候,应该是先在测试环境中进行调试,再切换到正式环境中。 CCPay 系统是 CCTip 的子系统,负责支付相关功能。 1. 提供相关的信息 为了方便我们帮助你的机器人注册到 CCPay 系统,请提供下面信息: 提供给我们你们的机器人基于 Telegram 用户系统的 id,一般来说,它是个整形字符串; 提供你们的机器人的 username 给我们;
     Like  Bookmark
  • English Version 中文版本 The required information is as follows, and may vary in official and test environments: Note: One merchant may correspond to multiple applications. Merchant Information
     Like 21 Bookmark
  • 账户代币列表,包括余额等信息(最好有法币价格 or 价值) 账户交易列表 交易详情 节点 jsonrpc 账户权限列表
     Like  Bookmark
  •  Like  Bookmark
  • 自动登录 充值按钮不明显。 2.1. 多人体验都没意识到这里充值 充值后,余额没有自动刷新 充值完成之后,提示框没有消失(遮挡顶部导致无法返回首页) 切换账号后,没有踢出登录态 5.1 cctip 可以切换账号,需要在获取 userinfo 之后发现不 match,直接重新登录
     Like  Bookmark