Skip to content

Instantly share code, notes, and snippets.

View Ucheokolo's full-sized avatar

Okolo Uchenna Ucheokolo

View GitHub Profile
@Ucheokolo
Ucheokolo / gist:6cbfbdc7ba01dcf91566c8bcd63d7574
Last active February 3, 2023 16:59
A simple Ens name verification smart contract: Web3bridge Assignment
@Uche
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract ensdomain {
mapping(address => bytes) public addressToBytesName;
mapping(bytes => address) public bytesNameToAddress;
string[] public nameList;