lnsxp-contract

所属分类:以太坊
开发工具:Solidity
文件大小:0KB
下载次数:0
上传日期:2024-02-06 16:52:31
上 传 者sh-1993
说明:  Lightlink Chain去中心化命名服务的智能合约,增加了基于体验点(XP)的链上奖励功能的功能
(Smart contracts for a decentralized naming service for Lightlink Chain with added feature for an on-chain rewards functionality based on Experience Points (XP))

文件列表:
contracts/
scripts/
.DS_Store
.env.example
hardhat.config.ts
package-lock.json
package.json
tsconfig.json

LightLink Naming Service(LNSXP) - Contracts Smart contracts for a decentralized naming service for Lightlink Chain with added feature for an on-chain rewards functionality based on Experience Points (XP) Purpose The purpose of this smart contract is to provide a decentralized and trustless system for mapping human-readable names to Lightlink addresses. This allows for easy and memorable access to addresses without having to remember long and complex strings of characters. Features Registering and updating names Resolving names to Ethereum addresses Managing ownership of names Usage To use the naming service, simply call the appropriate functions on the smart contract. The functions include: registerName(name, address): Register a new name to an Ethereum address. updateName(name, address): Update the Ethereum address associated with a name. resolveName(name): Resolve a name to its associated Ethereum address. The smart contract can be deployed to the Lightlink Pegasus Testnet network using a tool such as Hardhat. npx hardhat --network hyperspace run scripts/deploy_reverse_registrar.ts npx hardhat --network hyperspace run scripts/contracts/contract_registrar.ts Limitations The smart contract is currently only compatible with the EVM Chains. Contributions Contributions to the smart contract are welcome. Please open a pull request or issue on the Github repository for this project.

近期下载者

相关文件


收藏者