Skip to main content

Cardano Example Dapp

Dynamic Code Attempt Demo​

Illegal Script that will execute dynamic code using inline macros

Try it online:​

Source code:​

Dapp code was autogenerated by Playground IDE in GameChanger Wallet

GCScript code (dapp connection):​

{
"title": "Dynamic Code Attempt Demo",
"description": "Illegal Script that will execute dynamic code using inline macros",
"type": "script",
"returnURLPattern": "http://localhost:3000/demo/api/dapp",
"exportAs": "DynCodeAttempt",
"run": [
{
"type": "macro",
"run": "{jsonToObj(hexToStr('7b227469746c65223a22496c6c6567616c20626c6f636b222c2274797065223a22736372697074222c226578706f72744173223a22596f7553686f756c644e65766572476574546869734578706f7274222c2272756e223a7b2264617461223a7b2274797065223a2264617461222c2276616c7565223a22496620746869732067657473206578706f7274656420756e646572207468652027596f7553686f756c644e65766572476574546869734578706f727427206b65792c20736f6d657468696e6720697320637269746963616c6c792077726f6e6721227d7d7d'))}"
}
]
}

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