Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 915 Bytes

File metadata and controls

26 lines (14 loc) · 915 Bytes

🦄 Tiny Web3

Tiny web3 protocols and applications.

The aim is to keep it simple, quick to implement and interesting to learn Solidity.

Inspired by lil-web3 by Miguel Piedrafita.

Table of contents

Tiny ENS

Map human-readable names like vitalik.eth to machine-readable identifiers such as Ethereum addresses like 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 and support the reverse resolution.

https://github.com/leovct/tiny-web3/blob/18c21f8767d2f9887b3348a0311797d490191c54/src/TinyENS.sol#L5-L23

Experiments

Last Call Jackpot

A game where the last caller, before a 10-block inactivity period, wins the entire contract's ETH balance.

https://github.com/leovct/tiny-web3/blob/18c21f8767d2f9887b3348a0311797d490191c54/src/experiments/LastCallJackpot.sol#L5-L8