Skip to main content

Cardano Example Dapp

Macro Edge Cases​

This demo will test some edge cases around macro solver and syntax

Try it online:​

Source code:​

Dapp code was autogenerated by Playground IDE in GameChanger Wallet

GCScript code (dapp connection):​

{
"title": "Macro Edge Cases",
"description": "This demo will test some edge cases around macro solver and syntax",
"type": "script",
"exportAs": "MacroEdgeTestsDemo",
"returnURLPattern": "http://localhost:3000/demo/api/dapp",
"run": {
"test": {
"type": "macro",
"run": [
null,
{
"foo": {},
"bar": [],
"baz": 1234567891234568000,
"undefined": "{get('cache.unexistantProperty')}",
"syntaxError": "{unknownFunction('cache.test')}",
"circularHell": "{get('cache.test')}"
}
]
}
}
}

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