By Eyal Gruss (@eyaler)
Deploy and view eternal websites on the Tezos blockchain that will live as long as Tezos does (i.e. forever!)
Web: wbtz.github.io
Code: https://github.com/wbtz/wbtz.github.io
Uses: tzkt.io, better-call.dev, smartpy.io and ZTML
- Edit HTML here: smartpy.io/ide?code=...
- Media can be encoded inline as Base64 data URLs
- Minify your code (e.g. reduce whitespace) to save money
- Run and deploy contract
- Use ZTML Colab to compress HTML (important: tick
raw
), or plain text - Copy the output hex dump from the last cell
- Paste inside here: smartpy.io/ide?code=...
- Run and deploy contract
Note: total (compressed) size is currently limited to 32 kB
- Access your website by appending wbtz.github.io with ? or # followed by the originated KT address
- For example: wbtz.github.io?KT1JnLUUE9idUYnjRu8hgChEnZWGa8FfauRz (Try it!)
- This will load the HTML from the contrat storage via tzkt.io or better-call.dev