Skip to main content

Cardano Example Dapp

Search Demo​

Script that will search for files across all onchain GCFS file systems

Try it online:​

Source code:​

Dapp code was autogenerated by Playground IDE in GameChanger Wallet

GCScript code (dapp connection):​

{
"title": "Search Demo",
"description": "Script that will search for files across all onchain GCFS file systems",
"type": "script",
"exportAs": "searchDemo",
"returnURLPattern": "http://localhost:3000/demo/api/dapp",
"run": {
"search1": {
"type": "searchFs",
"useFingerprintURIs": false,
"params": [
{
"fileHash": "dc4536f4fdde94bfe0cdae32774f5e5dd25164a144d291b4b0a0eb40720dfdbb1426245ede6925feedacef897d306853acc8b4b55cae888908a9988fd70550bc"
},
{
"assetName": "gc.disk"
}
]
},
"search2": {
"type": "searchFs",
"useFingerprintURIs": false,
"params": [
{
"keyWord": ".crypt"
}
]
},
"search3": {
"type": "searchFs",
"useFingerprintURIs": false,
"params": [
{
"fileName": "encryptedData.crypt"
}
]
}
}
}

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