Wrote on

Building PayForSpace – Episode 2

Wow, my second stream already. This time I’ve streamed for a little bit more than 2 hours.

I’ve continued working on the PayForSpace app and added some new features:

  • Every box has an identifier
  • Each box type has a price
  • We created a new database table and a table to store data
  • Once anyone buys space for X amount of days, the buy button disappears
  • We used spatie/enum to strongly type the box identifier and the reservation possible statuses
  • We installed Laravel IDE Helper
  • We made sure to store the actual Elrond transaction object into our database so we don’t query the blockchain all the time to get various details.

That’s all for now, we’ll continue working on this app on the next stream with great new features. Hope you liked it.

Everything built in this stream is available open-source at https://github.com/filipac/payforspace

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2024 all rights
are not
reserved. Do whatever you want, it's a free country.
Guess it's obvious, but the theme is created by myself with Tailwind CSS. You can find the source code here.
I still use WordPress 🧡. The theme is custom Laravel though 😎.