Writing from the Chain-Code workshop

Coding challenge platforms that reward you with real value

LeetCode grind gives you streaks. These platforms give you ownership, certificates, or crypto. A comparison of reward models and what each one actually proves.

Learn Solidity by building projects that verify themselves

A project-first path through Solidity for beginners. Each stage ends with a checkable artifact, ending in an on-chain code certificate you can prove is yours.

Originality check source code: how copies get caught

What happens between passing tests and minting. How submissions are compared against accepted solutions, which similarity signals get flagged, where it fails.

Mint code as NFT tutorial: your first certificate

Walk through minting an accepted solution as an on-chain certificate. What judging checks, what the tracker phases mean, and how to verify the mint.

How to run untrusted code safely (sandbox tutorial)

A hands-on tutorial on running user-submitted code without wrecking your server. Timeouts, memory caps, network locks, and why plain exec calls end badly.

API key leaked in frontend bundle? The fix

Vite and CRA ship every VITE_ env var to the browser. How to find leaked API keys, why bundlers cannot hide them, and the backend proxy pattern that fixes it.

"Public code submissions: why we show everyone's code"

Why Chain-Code's public code submissions tab shows every accepted solve's full source to any signed-in user, and how the originality check still holds.

Judge0 vs Piston for self-hosted code execution

Comparing the two open-source sandboxes for untrusted user code: setup effort, isolation model, language coverage, and which fits a small platform's budget.

How to verify code ownership with an NFT certificate

A practical walkthrough of minting your accepted solution as an on-chain certificate, what goes into the NFT metadata, and how anyone can verify it was you.