sCrypt
1 program
Added 2026-02-13T00:00:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 3b3607163e · authored 2026-02-13T15:22:45+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Counter Smart Contract
Provenance: commit 3b3607163e · authored 2026-02-13T15:22:45+01:00 · agent claude-code · model sonnet · WebSearch disabled
import { SmartContract, method, prop, assert } from 'scrypt-ts'
export class Counter extends SmartContract {
@prop()
count: bigint
constructor(count: bigint) {
super(...arguments)
this.count = count
}
@method()
public increment() {
this.count++
assert(this.buildStateOutput())
}
}