r/cardano • u/mwatsimulamo • 4d ago
Developer From source code to script hash: verifying a Cardano escrow contract with UPLC Link

Publishing a contract's source code is a good start, but it does not show that this code produced the script running on-chain. A compilation step sits in between.
uplc.link is an open-source platform for Aiken contracts: it rebuilds the contract from a GitHub repository, commit and compiler version, then compares the resulting script hash with the expected one. Verification records can also be registered on-chain.
We tested it on the escrow contract of our project (Preprod): the build reproduced the expected hash from plutus.json. The article covers the configuration, the build log and the registry submission, with screenshots.
Full article on the Cardano Forum:
Open source lets us read the code. Reproducible builds let us verify it.
•
u/AutoModerator 4d ago
🎓 Please read the r/Cardano Wiki! It covers getting started, importance of hardware wallets, wallet security, buying, staking ADA, ⚠️ avoiding scams, Governance, and more.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.