Lambda Protocol
  • Introducing Lambda
    • πŸŽ“Short Overview
    • πŸš€Getting Started
    • ☝️Protocol Rules
    • ⁉️FAQ
    • ❗Operations
    • πŸͺ™LMDA
    • πŸ›£οΈRoadmap / Future
  • Developers
    • Getting Started
    • Developing your own contract
    • Example Simple Token
    • Token-Standard
    • Deploying your contract
    • More rules
    • Technical Details
    • Digital Matter Theory
    • Proxy Wallets
  • Others
    • πŸ”—Links
Powered by GitBook
On this page
  1. Developers

More rules

There are more rules for developers of contracts

PreviousDeploying your contractNextTechnical Details

Last updated 1 year ago

CtrlK
  • Naming Rules
  • General Rules

Naming Rules

  • contract names must not start with the dep: prefix

  • contract names must not contain any string looking like a wallet inside

  • contract names must not contain :

  • dynamically deployed contract names must not include .

  • TypeScript and JavaScript don't have "real" private properties / functions. So to make them private and protected start them with an underscore _ in the name. These are protected and must not be called.

    • Properties are uncallable by default

    • all functions can be called unless they are prefixed with _

General Rules

  • no imports of other contracts directly, you need to use the ecosystem API

  • every contract is pure, therefore

    • no network, file requests or other requests which could change over time

    • no random numbers