Skip to main content

Command Palette

Search for a command to run...

Building on the Endless Identity OS Part 2: Smart Contract Integration

Updated
1 min read

Part 2 of the developer series: interacting with Endless Registry and Resolver contracts directly.

You'd query contracts directly rather than the API when you need on-chain logic inside a smart contract — for example, DAO governance that resolves voter identities, or trustless verification without off-chain dependencies.

The Resolver interface: interface IEndlessResolver {function addr(bytes32 node, uint256 coinType) external view returns (bytes memory); function name(bytes32 node) external view returns (string memory); function text(bytes32 node, string calldata key) external view returns (string memory);}

Example: a DAO contract that resolves voter identity for display:

contract IdentityAwareDAO { IEndlessResolver public resolver;

function getVoterName(address voter) public view returns (string memory) {bytes32 node = reverseNode(voter); return IEndlessResolver(resolver).name(node); }}

 Result: your governance dashboard shows 'alex.wallet voted YES' instead of '0x4e2f... voted YES'.

Part 3 drops Saturday: Identity-as-Login — Web3 SSO without passwords.

#solidity #dao #iamendless