Functionland.

Post

Share your knowledge.

Christian O'Connor.
May 16, 2023
Expert Q&A

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
Share
Comments
.

Answers

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
Best AnswerOfficial Answer
Comments
.

Do you know the answer?

Please log in and share it.

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.

63Posts65Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.