Multichain authentication
Enhanced functionality and blockchain support with molecule.sh
Last updated
Enhanced functionality and blockchain support with molecule.sh
Last updated
mem.tech ยฉ 2023
molecule.sh not only serves as the global library for MEM functions, offering access to pre-defined plugins and reusable code, but it also provides support for 14 networks. This allows your functions to seamlessly authenticate with various network standards.
For example, you can code a MEM function that is compatible with MetaMask wallet for caller validation (using msg.sender
in this case).
Network | elliptic curve / crypto-algo |
---|---|
signer
atom of evm
moleculeThe following example demonstrates a MEM function implementation that utilizes EVM for caller authentication (action.caller
or similar to msg.sender
). This authentication mechanism is provided by the signer
atom of the evm
molecule. This approach ensures secure and reliable validation of the function's caller.
EVM
secp256k1
Dfinity
ed25519
Arweave
rsa256
Solana
ed25519
Zilliqa
EC-Schnorr (ECC)
Tron
ECDSA
Stacks (STX)
ECDSA
Substrate
sr25519
TON
ed25519
Massa
ed25519
Tezos (tz1 address)
ed25519
Aptos
PureEdDSA
Nostr
Schnorr (over secp256k1)
Fuels
secp256k1