Skip to content

FIL-Builders/onrampDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filecoin Onramp Contract Demo

This MVP is built using fil-frame, and it demonstrates how to onboard data to Filecoin via a onchain data onramp contracts integreate with Lighthouse deal engine to process storage on Filecoin.

It will potentially integreate with multichain data bridge which process the data storage coming from multichain, such as Linea, Avalance, Base, Arbitrum, etc.

The MVP consists of the following componenet:

  • Demo UI: upload file via onramp contract
  • Onramp Contracts: accepting storage requests & posdi proof verification.
  • xClientClient: listen to the storage requests from smart contract, and dealing with Lighthouse Deal Engine for storage and proofing.
  • Lighthouse Deal Engine: data aggregation and Filecoin storage.

Getting started

Ensure you have the following installed:

  • Node.js
  • Yarn
  • Hardhat
  • Foundry
  1. Clone the repository

    git clone https://github.com/FIL-Builders/onrampDemo.git
    cd onrampDemo
    
  2. Install dependencies

    yarn install
    
  3. Configuration

    Copy the sample environment files, and fill in the required values with your own values.

    cp packages/hardhat/.env.example packages/hardhat/.env
    cp packages/nextjs/.env.example packages/nextjs/.env.local
    
  4. Run the app

    Then you can run the web app with the following command.

    yarn run dev
    
image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors