Demo web application to demonstrate how to use FELT npm package to integrate federated learning into your web application.
create .env
file from .env.example
. Fill in your Infura project id, WalletConnet project id and your FELT API key.
yarn install # install dependencies
yarn dev # start the server
The most important part is FELT library @feltlabs/react
from which we use:
initializeApp
function to initialize the library with your API keyStartTraining
component to start the training processDisplayJobs
component to display started jobs