应用简介
浏览器中的Cocos BCX钱包扩展将cocos bcx块链api注入到每个网站的javascript上下文中,以便dapps可以从块链中读取。cocospay还允许用户创建和管理自己的身份(通过私钥、本地客户端钱包、用户名和密码),因此当一个dapp想要执行交易并写入区块链时,用户在批准或拒绝交易之前,会得到一个安全的界面来审查交易。因为它为正常的浏览器上下文添加了功能,cocospay需要对任何网页的读写权限。您始终可以像执行任何chrome扩展那样“查看cocospay的源代码”,或者在github上查看源代码:https://github.com/wangjiangs/CocosPay-for-360browser网站
配置文件
Code
1 | {"name":"CocosPay","version":"1.1.16","description":"CocosPay Chrome Extension","author":"chain@cocosbcx.io","manifest_version":2,"icons":{"16":"icons\/16px.png","48":"icons\/48px.png","128":"icons\/128px.png"},"browser_action":{"default_title":"CocosPay","default_popup":"pages\/popup.html"},"background":{"persistent":true,"page":"pages\/background.html"},"content_scripts":[{"js":["js\/cocospay.js","js\/inject.js"],"run_at":"document_start","matches":[" |