Functionland.

Допис

Діліться своїми знаннями.

Christian O'Connor.
May 16, 2023
Питання та відповіді експертів

I'm building a static app that uses serverless functions. Could Functionland provide the functions?

I have a next.js app that has 1 function in the pages/api route. I need to remove this to make the app capable of being deployed to IPFS as a static site. This function contains some code and parameters that shouldn't be accessible to the browser so I can't just add the function to a page. Could I replace my pages/api route with a Functionland function?

For example let's say I had a next.js app with a button that downloads a file from IPFS when clicked. I want to keep the IPFS CID a secret to the end user, therefore, I can't simply add this function to the page. Could I make a Functionland function that fetches and streams this file to the browser for download?

  • Fula Network
  • FULA API
  • Protocol Suite
1
1
Поділитися
Коментарі
.

Відповіді

1
mdhaf.
Aug 14 2023, 22:20

Functionland is a protocol of itself created to ensure a decentralized file storage by adding encryption, sharding, and replication to what IPFS already provides. So in your usecase it makes more sense to change the protocol to Fula instead of IPFS as it takes care of encryption itself.

2
Найкраща відповідьОфіційна відповідь
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.

Functionland is replacing Cloud Storage and Service Subscription economy by introducing a new category of products, called Blockchain-Attached Storage. It creates value by auto-minting crypto for the users and allocating a share to the developers.

63Пости65Відповіді
Sui.X.Peera.

Зароби свою частку з 1000 Sui

Заробляй бали репутації та отримуй винагороди за допомогу в розвитку спільноти Sui.