Skip to main content

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:​

Source code:​

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

This GCScript/URL is too large! make it shorter uploading parts to GCFS. Unable to generate QR code

Resources​

License​

MIT