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 社区成长而获得奖励。