This is a DApp demo in the CMPChain
npm install
npm run serve
After running successfully, use the browser(Chrome) to view:
- Local: http://localhost:xxxx/
- Network: http://192.168.x.x:xxxx/
npm run build
Network Name: CMP Testnet
New RPC URL: https://galaxy.block.caduceus.foundation
ChainID: 512512
Symbol: CMP
Block Explorer URL: https://galaxy.scan.caduceus.foundation
import DAppsSDK from "../utils/dAppSDK";
<!-- Get Balance -->
DAppsSDK.GetBalance((res)=>{})
Address: Enter transfer address
Amount: Enter transfer amount
Send Button: Click to confirm the transfer