paint-brush
Devtools to Build on Filecoin Virtual Machine & Announcing the FVM Dataverse Hackathonby@protocollabs
9,804 reads
9,804 reads

Devtools to Build on Filecoin Virtual Machine & Announcing the FVM Dataverse Hackathon

by Protocol LabsMay 1st, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The Filecoin Virtual Machine (FVM) went live on mainnet on March 14th. The FVM enables developers to build a plethora of decentralized applications (dApps) on the Filecoin network and engender a data economy for a wide range of audiences. The hackathon also comes with a variety of other Web3 tools you can try from our partners.
featured image - Devtools to Build on Filecoin Virtual Machine & Announcing the FVM Dataverse Hackathon
Protocol Labs HackerNoon profile picture


Join the FVM Dataverse Hackathon and Try These Filecoin Virtual Machine Dev-tools



The Filecoin Virtual Machine (FVM) went live on mainnet on March 14th and since then, builders have launched everything from Filecoin pledging and leasing solutions to token bridging protocols. However, we are still just scratching the surface: storage, retrieval and compute applications, which combined are a 300 billion dollar industry, are now more accessible to tap into for Filecoin Ecosystem developers. The FVM enables developers to build a plethora of decentralized applications (dApps) on the Filecoin network and engender a data economy for a wide range of audiences from decentralized data computation services users to Filecoin Storage Providers and clients.


The FVM is a runtime environment for smart contracts on the Filecoin network. These smart contracts, also called actors, can be written in Solidity. This runtime is fully EVM compatible. This means devs are free to use whatever tool they are most comfortable with. Additionally, you will be able to take advantage of properties of the Filecoin network such as making, monitoring and interacting with storage deals.


We’re excited to announce the FVM Dataverse Hack on Devpost which is a great opportunity to build projects that may potentially become core building blocks in the Filecoin ecosystem: either as products that help end users benefit from the properties of decentralized storage network, or DeFi applications for the Filecoin island economy or developer tools that will potentially help thousands of developers build dApps on Filecoin in the future.


This hackathon also comes with a variety of other Web3 tools you can try from our partners. There are $30,000 in track prizes and another $30,000 in sponsor prizes from these partners. Check out the FVM Dataverse website for details on tracks and prizes!


This hackathon is part of the series of Builder programs that the Filecoin community regularly puts together, and that bring out the best in builders who come up with brilliant ideas. Check out what was built as part of theSpace Warp Hackathon last quarter!


To get started, we have put together all resources in this FVM Hackathon Cheat sheet. This cheat sheet provides a guide to the following, in order:


  • Understanding Filecoin’s storage markets and deal flow

  • Where FVM comes in, and its capabilities

  • Ideas on how to build and cookbooks on how you can build some popular use cases


For ideas and inspiration, check out our Request for Startups [FVM edition]. For Hackathon updates and more, sign up here.


If you are passionate about leveraging the capabilities of a decentralized storage network like Filecoin to solve real-world problems, we encourage you to build with the FVM. If you’re looking for some inspiration, here is a list of ideas the community would love to see built on the FVM.


For builders ready to take the next step in their entrepreneurial journey, there are several FVM-focused accelerators open for application via the Softnoise platform.


In this blogpost, you’ll find an overview of developer tools that will help you get started on your journey building with FVM.

Getting Started with FVM: Starter Kits for Developers

Starter Kits 101

Are you a developer looking to deploy your first smart contract with the FEVM (Filecoin Ethereum Virtual Machine aka the EVM compatible runtime on the FVM)? Look no further than the FVM Starter Kits! Getting started on the FVM is super easy with Hardhat and Foundry starter kits, that provide you with simple contract templates for storing data on Filecoin with Solidity. Plus, you will also find contract templates for interacting with the filecoin.sol library, which allows seamless interaction with the Filecoin protocol and its built-in system actors, all from your smart contract.


Check out the below starter kits and resources:

  1. Filecoin Solidity Library by Zondax
  2. FEVM Hardhat Starter Kit
  3. FEVM Foundry kit


For a more comprehensive list of resources to first build your dapp on Filecoin Hyperspace Testnet, check out the__FVM Hackathon Cheatsheet__. This is updated regularly and is an invaluable resource for hackers building on Filecoin for the first time!

Starter Kits 201

The Filecoin Ethereum Virtual Machine (FEVM) is a groundbreaking platform that allows developers to write logic directly on top of the metadata of storage deals. And, to help developers get started, we've created solution-based starter kits that provide a starting point for developers to build various solutions.


The first of this kit is the programmable storage deal making kit. This kit allows developers to use smart contracts to create storage deals automatically on the Filecoin blockchain, and give you the flexibility to customize it the way you want. This kit allows developers to use smart contracts to streamline and add automation to the creation of storage deals on the Filecoin blockchain. It also gives you the flexibility to integrate it as needed, within your dApp.


We will also soon be launching a starter kit for DataDAO and decentralized computation on the FEVM on the FVM official site - stay tuned.

Block Explorers

Block Explorers provide essential real-time and historical information about the Filecoin blockchain and state of the network, including data on transactions, addresses, blocks, Filecoin actor interactions, storage providers, etc. Each of the below explorers give you all of these data points, with some differences in UI and SDKs/APIs available for use in your smart contracts.

Beryx, Filfox and Starboard provide contract verification as a feature, allowing users to verify the authenticity and integrity of smart contracts deployed on the Filecoin blockchain by ensuring that its source code has actually generated the bytecode deployed on-chain.


Beryx Explorer by the Zondax team is a comprehensive tool to easily extract data about the Filecoin network in a ‘ready to add to your code’ format from the Filecoin network and interact with custom smart contracts. Check out the Beryx API and the Beryx Client tool for JS to use in your project. Verify your smart contract via Beryx here.


Filfox is another comprehensive explorer with information about Filecoin Network including messages, transactions, tipsets, mempool, etc. The Filfox contract verifier allows you to pick the compiler version and the License type when you verify your contract.


Starboard had various analytics products to give you an insight into the Filecoin Network, including the Block explorer. Use the Spacescope API to get statistics about the Filecoin Network and build data driven applications and dapps for Filecoin Economy participants i.e. Storage providers, clients etc. The Starboard Ventures FVM dashboard recently released their Contract Verification Tool as well. It allows you to pick the License type too.


  • Glif


Glif is your go-to tooling option for all information on Filecoin Lotus nodes. The strives to give depth, when it comes to metrics about the network. Check out the Glif API for your project.


For more information,  check out this deep dive into all the available Filecoin Block Explorers or the official Block Explorers Docs.

Key dApp Building Tools

Cross Chain Building Blocks

Cross chain solutions make it possible to build a variety of cross chain projects including cross chain swaps, NFT bridging, cross chain lending, and more. Two key actions required when building a dApp are moving tokens from one chain to another and message passing. Regardless of the blockchain your dApp uses, you can utilize its native tokens along with the client contract deal-making kit to create Filecoin Storage deals directly from your dApp This allows you to seamlessly integrate Filecoin functionality into your dApp thus reducing the need to involve a separate storage platform to access data for your dApp.


Celer


Celer is a blockchain interoperability protocol enabling a one-click user experience accessing tokens, DeFi, GameFi, NFTs, governance, and more across multiple chains.Two kind of bridging experiences are available on Celer: Liquidity Pool based model, bridging that is based by deep liquidity pools using USDC, USDT and Ethereum and the other model pegged token model where a wrapped FIL is created on the Ethereum blockchain. NFT Bridging is made possible by the NFT bridging framework. Check out the cBridge documentation for all of these and the Github for smart contract examples to get started.


Axelar


Axelar delivers secure cross-chain communication for Web3, enabling you to build Interchain dApps that grow beyond a single chain. The Axelar Filecoin integration Axelar is truly decentralized and fully permissionless, and it is built on a proof-of-stake model. They enable cross chain solutions possible by passing messages between chains using a simple payload. Check out the Axelar documentation to start building cross chain projects on FVM Hyperspace testnet.

Oracle support with Tellor

Tellor is a generic oracle that works for any data at any frequency. If you’re building DeFi apps, you can get the price feeds info from the Tellor oracle, and for any other type of apps, real world data is available too. Check out the contract references here.

wFIL

wFIL is created by depositing FIL into a smart contract that mints an equivalent amount of wFIL on the Ethereum (or another) blockchain. This wFIL can then be used in Ethereum or other DeFi protocols, such as decentralized exchanges, lending and borrowing platforms, and yield farming applications. wFIL support is available via Glif, cBridge and will be available on Axelar soon!

DEX

We will be announcing a DEX from the community in the coming weeks! Follow the #fil-builders channel on Filecoin Slack for more information.


Stay tuned for more programs to be announced to support builders continuing to build on FVM after the FVM Dataverse Hackathon! Subscribe to the IPFS & Filecoin Builders’ mailing list.