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 thedeterministicFetch 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.calleras 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-bundlratoms. example
- Decentralized Public Square using
nostr-auth&exm-bundlratoms. example
- Getting Ark Protocol identity object. example
- GPT3 integration in a smart contract. example
License
This project is licensed under the MIT License๐ More in this category