Skip to main content
Glama
Lock.js564 B
// This setup uses Hardhat Ignition to manage smart contract deployments. // Learn more about it at https://hardhat.org/ignition const { buildModule } = require("@nomicfoundation/hardhat-ignition/modules"); const JAN_1ST_2030 = 1893456000; const ONE_GWEI = 1_000_000_000n; module.exports = buildModule("LockModule", (m) => { const unlockTime = m.getParameter("unlockTime", JAN_1ST_2030); const lockedAmount = m.getParameter("lockedAmount", ONE_GWEI); const lock = m.contract("Lock", [unlockTime], { value: lockedAmount, }); return { lock }; });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/token-minter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server