Skip to main content

Cardano Example Dapp

UTXO Generator​

Generates required amount of UTXOs in your wallet to improve multi-transaction concurrency capabilities, for dapps and GCFS filesystem write events. A GameChanger Wallet Dapp Demo. https://gamechanger.finance/

Try it online:​

Source code:​

Dapp code was autogenerated by Playground IDE in GameChanger Wallet

GCScript code (dapp connection):​

{
"title": "UTXO Generator",
"description": "Generates required amount of UTXOs in your wallet to improve multi-transaction concurrency capabilities, for dapps and GCFS filesystem write events. A GameChanger Wallet Dapp Demo. https://gamechanger.finance/",
"type": "script",
"exportAs": "data",
"isolateCache": true,
"run": {
"address": {
"type": "getCurrentAddress"
},
"build": {
"type": "buildTx",
"title": "UTXO Generator",
"name": "UTXO Generator",
"description": "Generates required amount of UTXOs in your wallet to fulfill future tasks",
"tx": {
"outputs": [
{
"address": "{get('cache.address')}",
"assets": [
{
"assetName": "ada",
"policyId": "ada",
"quantity": "1000000"
}
]
}
],
"options": {
"coinSelection": "FMR",
"changeOptimizer": "BAL",
"autoProvision": {
"workspaceNativeScript": true
},
"autoOptionalSigners": {
"nativeScript": true
}
}
}
},
"sign": {
"type": "signTxs",
"namePattern": "UTXO Generator Signed",
"detailedPermissions": false,
"txs": [
"{get('cache.build.txHex')}"
]
},
"submit": {
"type": "submitTxs",
"mode": "parallel",
"namePattern": "UTXO Generator Submittted",
"txs": "{get('cache.sign')}"
}
}
}

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