Inspiration

I just wanted to create a project that would let me use each of the Chainlink prizes. Wordle was the zeitgeist and it was perfect.

What it does

Same UX as Wordle except if you win you get a soulbound NFT to commemorate it.

How we built it

The wordlist is hosted on IPFS. The Wortle contract uses a Chainlink Keeper to periodically reset the word of the day. It gets a Single Word Response from the Chainlink Oracle Client by picking a random index from the word list through the Chainlink VRF.

Challenges we ran into

There is a lot of string manipulation and comparison that I hadn't considered before that I ended up spending quite a bit of time on. Also the VRF only works on Rinkeby but the oracle consumer was only live on Kovan so having to test on the two networks separately before going to Mainnet was a pain. Also I didn't get to this but automated testing the Keeper with time simulation on hardhat would have been ideal.

Accomplishments that we're proud of

Running into and fixing the above challenges.

What we learned

How to use Chainlink VRF How to use Chainlink Offchain Workers How to use Chainlink Keepers

What's next for Wortl

  • I'd build a frontend for this game
  • Automated tests
  • Gas optimizations
  • I'd definitely spend more time on the actual NFT reward part but since this was a Chainlink Hackathon, that was an afterthought. All of the above would make for a cool feature complete game but I found out about the hackathon too late and beside I had other obligations such as going outside to touch grass.

Built With

Share this project:

Updates