Cardano Example Dapp
Read your registration on Dandelion Network (GCFS)
Reads a json file with your Node Group definition from an on-chain GCFS resource, used for backend peer discovery on Dandelion, the decentralized API service for Cardano
Try it online:
- Visit HTML+JS Dapp
- Visit HTML+React Dapp
- Visit Native HTML dapp
- Run Run in Wallet…Open in IDE…
Source code:
- dapp connection code: GCScript DSL
- frontend (using @gamechanger-finance/gc): HTML+JS dapp
- frontend (using @gamechanger-finance/gc): HTML+React dapp
- frontend (without official library): Native HTML dapp
Dapp code was autogenerated by Playground IDE in GameChanger Wallet
GCScript code (dapp connection):
{
"title": "Read your registration on Dandelion Network (GCFS)",
"description": "Reads a json file with your Node Group definition from an on-chain GCFS resource, used for backend peer discovery on Dandelion, the decentralized API service for Cardano",
"type": "script",
"args": {
"asset-name": "dandelion",
"file-path": "//config/NodeGroup.json",
"node-group-ID": "2abaf6d73e5838cff911cdf8f6629cff1e1955df3afb89738e248f8e"
},
"exportAs": "data",
"return": {
"mode": "last"
},
"run": {
"nodeGroup": {
"type": "importAsData",
"from": {
"file": "gcfs://2abaf6d73e5838cff911cdf8f6629cff1e1955df3afb89738e248f8e.dandelion@latest://config/NodeGroup.json"
}
},
"finally": {
"type": "macro",
"run": "{get('cache.nodeGroup.file')}"
}
}
}
Run standalone QR dapp connection:
You can use Playground IDE in GameChanger Wallet in QR URL Transport mode to capture results
Resources
- How to connect?
- Docs and examples on Github
- GCScript documentation
- Playground IDE in GameChanger Wallet
- Tutorials on Youtube
- Support on Discord
- News on Twitter
- Website
License
MIT
.png)