Cardano Example Dapp
List all registrations on Dandelion Network (GCFS)
Search for all matching json files with Node Group definitions on all GCFS resources on-chain. These files are 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": "List all registrations on Dandelion Network (GCFS)",
"description": "Search for all matching json files with Node Group definitions on all GCFS resources on-chain. These files are used for backend peer discovery on Dandelion, the decentralized API service for Cardano",
"type": "script",
"args": {
"asset-name": "dandelion",
"file-path": "//config/NodeGroup.json",
"file-name": "NodeGroup.json",
"your-node-group-ID": "2abaf6d73e5838cff911cdf8f6629cff1e1955df3afb89738e248f8e"
},
"exportAs": "data",
"return": {
"mode": "last"
},
"run": {
"nodeGroups": {
"type": "searchFs",
"useFingerprintURIs": false,
"params": [
{
"absPath": "{get('args.file-path')}"
},
{
"assetName": "{get('args.asset-name')}"
}
]
},
"finally": {
"type": "macro",
"run": "{get('cache.nodeGroups')}"
}
}
}
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)