Skip to content

Add new r/docs/... examples #3292

@moul

Description

@moul
  • r/docs/hello - A simple introductory example.
  • r/docs/adder - An interactive example to update a number with transactions.
  • r/docs/source - View realm source code.
  • r/docs/avl_pager - Paginate through AVL tree items.
  • r/docs/img_embed - Demonstrates how to embed an image.
  • markdown examples
  • JSON examples
  • txlink examples
  • composition examples
  • safe object examples
  • use r/sys/users
  • user r/sys/users and r/demo/profile
  • use a factory to generate something
  • register something against a registry
  • Some famous solidity patterns
    • Sending ETH <> using std.Banker
    • Reentrancy - show it's not possible
    • (welcome to fill in if you have ideas)
  • TDD in Gno
  • Common unexpected mistakes: int overflow, error doesn't revert, OriginCaller middleman attack, ...
  • Crossing, crossing in testing, in p/, in r/
  • ...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions