Skip to main content
Glama

LayerZero OFT MCP Server

by thomasfevre
MyOFT.sol669 B
// SPDX-License-Identifier: MIT pragma solidity ^0.8.22; // This is a simple implementation of an OFT (Omnichain Fungible Token) contract // MyOFT.json is the hardhat compiled artifact for this contract import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { OFT } from "@layerzerolabs/oft-evm/contracts/OFT.sol"; contract MyOFT is OFT { constructor( string memory _name, string memory _symbol, uint256 _initialSupply, address _lzEndpoint, address _delegate ) OFT(_name, _symbol, _lzEndpoint, _delegate) Ownable(_delegate) { _mint(_delegate, _initialSupply * 10 ** decimals()); } }

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/thomasfevre/layerzero_mcp'

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