Logo SYSCALL SMS v2.3.0
< BACK TO HUB
LIVE ON MegaETH: Ensure your wallet is connected to the correct chain
i SERVICE OVERVIEW

TRUSTLESS SMS RELAY

The Syscall SMS service allows smart contracts to trigger text messages purely via blockchain transactions. It uses a Commit-Reveal scheme to ensure the content is cryptographically linked to the payment before dispatch.

LIVE ORACLE PRICE
LOADING...
Gas Optimized for L2
_ LIVE TESTER
EXECUTION LOGS
Syscall SMS Module loaded...
Waiting for user input...
# FRONTEND INTEGRATION (BROWSER)

1. Download syscall-sms-sdk.js and place it in your project.
2. Import Ethers.js v6 and the SDK in your HTML head.
3. Initialize and use the global `Syscall` class.

<!-- 1. Include Libraries (HTML) --> <script src="https://cdnjs.../ethers.umd.min.js"></script> <script src="./syscall-sms-sdk.js"></script> <script> async function sendSMS() { // 2. Initialize with window.ethereum const syscall = new Syscall(window.ethereum); // 3. Trigger Action (Prompts MetaMask) const receipt = await syscall.sendSMS( "+15550199888", // Phone Number "Your wallet is verified." // Content ); console.log("Proof TX:", receipt.txHash); } </script>
# BACKEND INTEGRATION (NODE.JS)

1. Install dependencies: npm install ethers dotenv
2. Download syscall-sms-sdk.js to your project root.
3. Import the local file and initialize with your wallet's Private Key.

// 1. Imports & Setup require('dotenv').config(); const Syscall = require('./syscall-sms-sdk'); // Local Import // 2. Initialization (Server-Side) const syscall = new Syscall(process.env.PRIVATE_KEY); // 3. Usage Example async function notifyAdmin() { const tx = await syscall.sendSMS( "+15550199888", "Server Alert: Pod-42 Critical Error." ); console.log("SMS Sent:", tx.txHash); }
@ COMMUNITY & DOCS