Functionland.

Bài viết

Chia sẻ kiến thức của bạn.

Christian O'Connor.
May 16, 2023
Hỏi đáp Chuyên Gia

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
Chia sẻ
Bình luận
.

Câu trả lời

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
Câu trả lời hay nhấtCâu trả lời chính thức
Bình luận
.

Bạn có biết câu trả lời không?

Hãy đăng nhập và chia sẻ nó.

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.

63Bài viết65Câu trả lời
Sui.X.Peera.

Kiếm phần của bạn từ 1000 Sui

Tích lũy điểm danh tiếng và nhận phần thưởng khi giúp cộng đồng Sui phát triển.