Skip to content
forked from 8AGame/CocosPay

A browser extension for Cocos-BCX.

License

Notifications You must be signed in to change notification settings

623023808/CocosPay

 
 

Repository files navigation

CocosPay:

CocosPay is a Browser Extension for Cocos-BCX.

Preparation:

Node.js version 8.9.3 or higher.

Build:

Install local dependencies by using npm install.
Build with development npm run dev.
Build for Publishing npm run build.
Uncompressed build will be found in ./build

Start:

It's useful for dapp or web. Install and log in the CocosPay, CocosPay will inject a BcxWeb object into current document. Note that you can use like this:

    if (window.BcxWeb && window.BcxWeb.BCX) { 
      bcx = window.BcxWeb.BCX
    }

Example

How to use for dapp?
Here is a dapp sample. cocos-dice

About

A browser extension for Cocos-BCX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.3%
  • Vue 40.2%
  • CSS 5.4%
  • HTML 0.1%