decentldotland
molecule
JavaScript

developer API for MEM functions

Last updated Nov 5, 2025
32
Stars
8
Forks
0
Issues
0
Stars/day
Attention Score
18
Language breakdown
JavaScript 89.4%
HTML 10.5%
Procfile 0.1%
โ–ธ Files click to expand
README

@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
CHATAPITOKEN=...
 OPENAIAPIKEY=...
 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
  • Decentralized Public Square using evm-auth & exm-bundlr atoms. example
  • Decentralized Public Square using nostr-auth & exm-bundlr atoms. example
  • GPT3 integration in a smart contract. example

License

This project is licensed under the MIT License

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท decentldotland/molecule ยท Updated daily from GitHub