Technical Overview
Ultimate Digits is a public good, a basic piece of the digital payments infrastructure that belongs to the community.
Backend Infrastructure
Blockchain Integration: Ultimate Digits uses a combination of Ethereum smart contracts to create and manage the link between mobile numbers and crypto wallet addresses. The use of Ethereum ensures decentralization and immutability.
Database: IPFS is used to store metadata about users. On BNB Chain, we’re using Greenfield.
API Server: A RESTful API server handles requests from the front end. Built using Node.js and Express.js, this server interacts with the Ethereum blockchain and IPFS.
Smart Contracts
Registration Contract: Users interact with this contract to link their mobile number to a crypto address. The actual mobile numbers aren’t stored on-chain, only a hashed version for privacy reasons. Read our hashing mechanism.
NFT Contract: This contract handles the creation and management of virtual Web3 mobile numbers as NFTs. ERC-721 standard used adopted here. If a user links a real-world mobile number, an NFT is still created and deposited into their wallet.
Lookup Contract: This performs a lookup of the last owner of the above-mentioned NFT via {getOwnersForToken}. This NFT holder’s wallet address is retrieved for further use.
Ultimate Owners: We track NFT ownership changes via {NewOwner} and {Transfer} events. We use additional event logging, time-lock, and incentives to handle events like user’s mobile numbers being changed, or mobile number NFTs being transferred. Read more here.
Frontend
Web App: React.js for frontend interface. It will integrate with Web3.js or ethers.js to communicate with the Ethereum blockchain. We’ll also develop Flutter-based mobile apps.
MetaMask Snaps Plugin: This will be developed using the Snaps beta SDK provided by MetaMask. It'll be a micro-app that can be plugged into MetaMask.
Security
Hash Functions
Smart Contract Audits
Oracles: For external data such as real-time token prices, decentralized oracles will be used to provide reliable data feeds.
Interoperability: Ultimate Digits is a fully open system where mobile numbers can be set to any kind of record, with blockchain addresses being the most common use case.
DAO Governance: Eventually, we’ll turn the protocol governance over to a DAO to ensure that it remains in the hands of its users.
Last updated