Realm

v1

gno.land/r/moul/x/plan9/dev/v1

Render

/dev

The chain as a Plan 9 device tree. Each file is a function: reading it runs code, so /dev/height is never stale.

Posted to r/moul/x/plan9/ns's /srv at deploy time, so no realm has to import this one to use it:

bind /srv/dev /dev
devicecontents
callerpkgpath of the realm that crossed into this read
domainthe chain domain
driversthis table
heightcurrent block height
nullalways empty; the bit bucket
randomsha256 of chain id and height, hex; block-deterministic, NOT unpredictable
sessionthe calling key's session scope, one AllowPath per line
sysnamethe chain id
timeblock time, RFC3339
userthe origin caller's address
zeroendless NUL bytes; reads exactly what you ask for

Design and analysis: moul/gno-contracts#136.

Not affiliated with Plan 9. Plan 9 from Bell Labs is the work of the Computing Science Research Center at Bell Labs; the name and the marks are theirs, and the copyright is held by the Plan 9 Foundation. This realm borrows the vocabulary and none of the code: it is an homage, asking what that ecosystem's spirit looks like on a chain.

Transactions

HashBlockTimeMsgCallerStatus
779202E2D0…056DC479592,3394d agoEnablePkg—ok
C5517F93AC…5074F46E592,2164d agoAddPackage—ok

Calls, deploys, and child packages in indexed history.

Call function

Source (qfile)