Giter Site home page Giter Site logo

mem-examples's Introduction

@decentldotland/mem-examples

MEM examples

Molecular Execution Machine is a web3-ready serverless functions platform. Build and deploy trustless dApps in record time ⚡️

MEM features

  • Near-instant finality
  • Multichain auth - EVM, Solana, Arweave, TON, ICP, and more
  • Multilingual - JS/TS, Rust, C/++, Python, WASM-compiled languages
  • Trustless and verifiable
  • REST-like: interact with MEM like an API
  • Web2 UX with walletless function interactions
  • Call and compute with any data source, on of off-chain

Examples list

  1. Guestbook
  2. Counter
  3. Ethereum authentication
  4. Haiku generator
  5. CRUD

Run the examples

MEM IDE (recommended)

While MEM is in beta, we recommend using the online MEM IDE to test and expand upon these examples -- no need to deploy! Copy the function and state into a new project and use the interaction objects in each example's README to test.

Local testnet

The mem-testnet repo provides instructions on how to simulate MEM functions locally. Paste function code and state into the script and write your test cases.

Mainnet (permissioned in beta)

For mainnet, MEM functions are deployed via the MEM CLI.

For example:

mem deploy --src ./function.js --init-state '{ "logs": [] }'

To interact with MEM mainnet functions while MEM is in beta, you must first get the function whitelisted via this form.

mem-examples's People

Contributors

xylophonez avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.