pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/decentldotland/molecule

link crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b69241e157469407.css" /> GitHub - decentldotland/molecule: developer API for MEM functions · GitHub
Skip to content

decentldotland/molecule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

254 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@decentdotland/molecule

An app store for MEM smart contract integrations

Synopsis

Molecule is a developer tooling API for MEM developers that's built on top of the deterministicFetch feature. molecule.sh is composed of multiple reusable MEM components/codes to facilitate writing MEM functions and extend their functionalities.

Build & run

git pull https://github.com/decentldotland/molecule.git

touch .env 

npm install && npm run molecules

Note: copy the parameters from the .env.example and fill the values with your API tokens

CHAT_API_TOKEN=...
OPENAI_API_KEY=...
OPENAI_ORGANIZATION=...

molecule.sh structure

Tree

molecules/
├── ar/
│   └── tx-gql ~> atom
└── evm/
├── └── signer
└── sol/ ~> molecule
├── └── auth
└── zil/
├── └── zil-auth
├── stx/
│   └── stx-auth
└── substrate/
├── └── substrate-auth
└── trx/
├── └── trx-auth
└── icp/
├── └── icp-auth
└── ton/
├── └── ton-auth/
└── massa/
├── └── massa-auth
└── fuel/
├── └── fuel-auth
└── tez/
├── └── tez-auth
└── aptos/
└── └── aptos-auth/
└── nostr/
    └── nostr-auth
└── exm/
└── └── exm-bundlr
└── near/
└── └── n-view-state/
└── ever/
├── └── tx
└── redstone/
└── └── price
└── ark/
├── ├── resolve
├── └── state
│   └── soark/domain
└── ai/
└── └── chatgpt
└── └── gpt3

Endpoints

molecule endpoint atoms stability
Arweave (ar) ar.molecule.sh tx-gql ota mime ar-auth 🟩
EVM (evm) evm.molecule.sh signer 🟩
Solana (sol) sol.molecule.sh auth 🟩
Zilliqa (zil) zil.molecule.sh zil-auth 🟩
Stacks (stx) stx.molecule.sh stx-auth 🟩
Substrate.io (substrate) substrate.molecule.sh substrate-auth 🟩
TRON (trx) trx.molecule.sh trx-auth 🟩
Internet Protocol (ICP) icp.molecule.sh icp-auth 🟩
TON (ton) ton.molecule.sh ton-auth 🟩
Massa (massa) massa.molecule.sh massa-auth 🟩
Fuel Network (fuel) fuel.molecule.sh fuel-auth 🟩
Tezos (tez tez.molecule.sh tez-auth 🟩
Aptos (aptos aptos.molecule.sh aptos-auth 🟩
Nostr (nostr nostr.molecule.sh nostr-auth 🟩
EXM (exm exm.molecule.sh exm-bundlr 🟥
NEAR (near) near.molecule.sh n-view-state 🟩
Everpay (ever) ever.molecule.sh tx 🟩
Redstone (redstone) redstone.molecule.sh price 🟩
Ark Protocol (ark) ark.molecule.sh state resolve soark/domain 🟩/🟨
Randomization (rand) rand.molecule.sh generate 🟩/🟨
AI (ai) ai.molecule.sh gpt3 🟩/🟨

API path structure

{molecule-name}.molecule.sh/{atom-name}/{argument1}/{argument2}

Examples

The following MEM contracts integrate molecule.sh atoms to achieve certain functionalities:

  • MEM with EVM : allows MEM contracts to be fully compatible with action.caller as EVM EOA. example

  • Fetch Arweave TX metadata: fetch L1 or bundled Arweave TX object. example

  • Convert an Arweave public key to Arweave address. example

  • Lucky draw by randomization powered by random.org - example

  • Solana authentication: Simple name registry contract. example

  • Zilliqa authentication: Simple name registry contract. example

  • Stacks authentication: Simple name registry contract. example

  • Substrate.io authentication: Simple name registry contract. example

  • TRON authentication: Simple name registry contract. example

  • ICP authentication: Simple name registry contract. example

  • TON authentication: Simple name registry contract. example

  • Massa authentication: Simple name registry contract. example

  • Fuel authentication: Simple name registry contract. example

  • Tezos authentication: Simple name registry contract. example

  • Aptos authentication: Simple name registry contract. example

  • Redstone price oracle. example

  • Decentralized Public Square using evm-auth & exm-bundlr atoms. example

  • Decentralized Public Square using nostr-auth & exm-bundlr atoms. example

  • Getting Ark Protocol identity object. example

  • GPT3 integration in a smart contract. example

License

This project is licensed under the MIT License

About

developer API for MEM functions

Topics

Resources

License

Stars

Watchers

Forks

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy