zapaz / scaffold-eth-fleek

Open source forkable Ethereum dev stack

Home Page:https://scaffoldeth.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ— Scaffold-ETH Fleek

πŸ§ͺ Introduction

Scaffold-ETH Fleek is a extension of Scaffold-ETH 2 to deploy your builds with Fleek on decentralized storage.

Fleek is a platform that allows you to deploy your website on IPFS and host it for free.

This guide will show you how to do deploy your SE-2 build to Fleek.

βœ… Getting Started

1/ Goto Fleek app to create your own Fleek account

2/ From your local computer, login into Fleek with this command:

$ yarn fleek:login

πŸš€ Deploy to Fleek

To deploy your SE-2 build to Fleek, run this command:

$ yarn fleek:deploy

First time it will ask you to init your project, use these params:

  • directory out
  • optional build no
  • config format JSON

Then your app will be build then uploaded to Fleek.

🚫 Limitations

Note that decentralized storage as IPFS, requires client only application (i.e. SPA Single Page Application) without server side.

With NextJs this is possible by using Static HTML Export

For existing application, you may have to modify internal links: between absolute link (like https://website.io/image.png), related links (like image.png or ./image.png) and root link (like /image.png).

About

Open source forkable Ethereum dev stack

https://scaffoldeth.io

License:MIT License


Languages

Language:TypeScript 96.9%Language:JavaScript 1.6%Language:Solidity 1.3%Language:CSS 0.2%Language:Shell 0.0%