Skip to main content

Onchain Tipping Registry

For an complete example of creating an ERC20 token, registering a tipping symbol, and converting the ERC20 into the tippable token check out the OTR Github.

The Onchain Tipping Registry (OTR) is a system that allows any ERC20 token on Ham chain to become a tippable token on Farcaster. This includes all native Ham chain tokens as well as any token that can be bridged to Ham chain.

You can think of OTR as ENS for tipping symbols. You can register a tipping symbol, similar to an ENS name, which will be linked to an associated ERC20 token. For example, you could register $WETH as the tipping symbol for Wrapped Ether on Ham chain and start tipping WETH on Farcaster by commenting "1 $WETH". The tipping symbol can be any string of characters, including emojis. When a tipping symbol is registered, a corresponding tipping token is deployed on Ham chain. The original token is always convertible 1:1 with the tippable version. However, you must first convert the original token to the tippable version before it can be used for tipping.

Currently, there is no official interface for OTR, but you can interact with the smart contracts directly. There is no expiration on symbols, but expect there to be in the future. It will start at 1 year when implemented. Registration costs 250,000 $TN100x, and UIs that provide registration functionality may charge a fee (up to 10%) during the registration process. For more details, see the OTR smart contract.

Ham Relayer

The Ham Relayer is a trusted system that sends tipping tokens on behalf of holders. By default, tipping token smart contracts allow Ham Relayer to send these tokens. Additional relayers can be approved by interacting with the smart contract, similar to standard ERC20 token approvals. The long-term vision for OTR includes decentralizing this aspect of the tipping process.