Skip to content

CaduceusMetaverseProtocol/demo-dapps

Repository files navigation

demo-dapps

This is a DApp demo in the CMPChain

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

After running successfully, use the browser(Chrome) to view:
  - Local:   http://localhost:xxxx/ 
  - Network: http://192.168.x.x:xxxx/

Compiles and minifies for production

npm run build

MetaMask config

Network Name:  CMP Testnet
New RPC URL: https://galaxy.block.caduceus.foundation
ChainID: 512512
Symbol: CMP
Block Explorer URL: https://galaxy.scan.caduceus.foundation

SDK application

import DAppsSDK from "../utils/dAppSDK";

<!-- Get Balance -->
DAppsSDK.GetBalance((res)=>{})

Page operation instructions

Address: Enter transfer address
Amount: Enter transfer amount

Send Button: Click to confirm the transfer

About

This is a DApp demo in the CMPChain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published