Babel is an interactive, collaborative `poetry' project using ERC20 and ERC721.
Feel free to get in touch with any questions/comments: [email protected]
video demo for HackFS
Make sure to npm install
before anything.
To run the frontend: npx next frontend
.
To compile the contracts: npx hardhat compile
.
export HARDHAT_NETWORK={localhost, rinkeby}
to change where scripts and tasks run.
To run scripts: npx hardhat run path_to_script.ts
.
To run a task: npx hardhat task_name
.
Babel is the erc20 used as the native currency for almost all interactions.
Bytes is the chainlink VRFConsumerBase responsible for requesting and receiving vrf requests.
Curve is the bonding curve which sells Babel for ETH.
House allows users to auction individual words, starting at a reserve price of their choosing.
Lyric is a three-word collaborative poem (lyric), where each iteration is minted as an erc721 to the updater.
Proposers participate in short auctions for the right to update the lyric.
Rotor is the random-word generating algorithm.
Vault is where users can deposit words in exchange for babel, or where users can purchase an available word for a fixed cost.
Words mints a random five-letter word to the requester.