{"id":697,"date":"2024-05-28T12:41:33","date_gmt":"2024-05-28T12:41:33","guid":{"rendered":"https:\/\/nownodes.io\/blog\/?p=697"},"modified":"2024-05-28T12:41:45","modified_gmt":"2024-05-28T12:41:45","slug":"how-to-build-a-dapp-on-filecoin","status":"publish","type":"post","link":"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/","title":{"rendered":"How to Build a dApp on Filecoin?"},"content":{"rendered":"\n<p>Building a dApp on Filecoin becomes more popular among Web3 developers. That\u2019s the consequence of Filecoin becoming one of the most used blockchain networks for builders. It\u2019s happening due to several factors, including its unique approach to decentralized storage, growing ecosystem, and the increasing demand for decentralized solutions.<\/p>\n\n\n\n<div class=\"wp-block-ideabox-toc ib-block-toc\" data-anchors='h2,h5' data-exclude='.related-posts, #related-posts-container' data-collapsable='true' ><div class=\"ib-toc-container ib-toc-list-style-numbers ib-toc-hierarchical ib-toc-expanded\"><div class=\"ib-toc-header\" style=\"font-size:25px;background-color:#431354;color:#fefefe;--fill:#fefefe\"><div class=\"ib-toc-header-title\">Table of Contents<\/div><div class=\"ib-toc-header-right\"><span class=\"ib-toc-icon-collapse\"><span class=\"dashicon dashicons dashicons-minus\"><\/span><\/span><span class=\"ib-toc-icon-expand\"><span class=\"dashicon dashicons dashicons-plus\"><\/span><\/span><\/div><\/div><div class=\"ib-toc-separator\" style=\"height:2px\"><\/div><div class=\"ib-toc-body\"><ol class=\"ib-toc-anchors\"><\/ol><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-filecoin\"><strong>What is Filecoin?<\/strong><\/h2>\n\n\n<p>A small 101 on what is\u00a0<a href=\"https:\/\/nownodes.io\/blog\/what-is-filecoin-a-descriptive-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\">Filecoin<\/a>\u00a0\u2013 it\u2019s a decentralized storage network that enables users to store and retrieve files in a secure, efficient, and cost-effective manner. This blockchain offers a compelling platform for developers to build blockchain dApps that leverage decentralized storage, providing security, resilience, and cost-effectiveness while fostering a more decentralized and open digital ecosystem.<br><br>Filecoin uses a blockchain-based market mechanism to incentivize participants to offer storage capacity and to retrieve data on demand. Users pay with the native Filecoin cryptocurrency to store their data on the network, and storage providers earn Filecoin for offering their storage capacity.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"how-does-filecoin-work\"><strong>How does Filecoin work?<\/strong><\/h2>\n\n\n<p>Here is a general overview of how does Filecoin work:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Users purchase Filecoin cryptocurrency: To store data on the Filecoin network, users first need to purchase Filecoin cryptocurrency from a cryptocurrency exchange or from someone who already owns Filecoin.<\/li>\n\n\n\n<li>Users store data on the network: Once they have Filecoin, users can store their data on the Filecoin network. They do this by creating a file, splitting it into many small pieces, and then encrypting and distributing those pieces across the network to various storage providers.<\/li>\n\n\n\n<li>Storage providers earn Filecoin: Storage providers offer their storage capacity to the network in exchange for Filecoin. They receive Filecoin from users who want to store data on their storage devices.<\/li>\n<\/ol>\n\n\n<h2 class=\"wp-block-heading\" id=\"building-a-blockchain-dapp-tutorial\"><strong>Building a Blockchain dApp \u2013 Tutorial<\/strong>.<\/h2>\n\n\n<p>Here we\u2019ll guide you through the process of building a blockchain decentralized application (dApp) on Filecoin.&nbsp;<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"whats-required\"><strong>What\u2019s required:<\/strong><\/h3>\n\n\n<p>1. Windows or MacOS Computer<br>2. Node.js tool<br>3. NOWNodes API Key<br>4. yarn<br>5. 30-40 minutes of your free time&nbsp;<\/p>\n\n\n\n<p><em>Let\u2019s start!<\/em><\/p>\n\n\n\n<p>To build a blockchain dApp on Filecoin using JSON Lotus v1 nodes, you\u2019ll need to follow these steps:<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"set-up-your-development-environment\">Set up your development environment:<\/h3>\n\n\n<p><strong>Install Node.js:<\/strong>\u00a0Filecoin development tools require Node.js. Download and install the latest version from the official website:<a href=\"https:\/\/nodejs.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u00a0https:\/\/nodejs.org\/<br><\/a><strong>Install yarn:<\/strong>\u00a0To manage the dependencies, you need to install yarn. Follow the installation instructions here:<a href=\"https:\/\/web.archive.org\/web\/20230715175542\/https:\/\/classic.yarnpkg.com\/en\/docs\/install\/\">\u00a0<\/a><a href=\"\/\/classic.yarnpkg.com\/en\/docs\/install\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/classic.yarnpkg.com\/en\/docs\/install<\/a>.<\/p>\n\n\n\n<p>We then need to grab the starter kit and install the dependencies.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Clone the Hardhat starter kit and move into the new\u00a0<code><mark>fevm-hardhat-kit<\/mark><\/code>\u00a0directory:<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>git clone<\/mark><br><mark>https<\/mark>:\/\/github.com\/filecoin-project\/fevm-hardhat-kit.git<br><mark>cd fevm<\/mark><mark>-<\/mark><mark>hardhat<\/mark><mark>-<\/mark><mark>kit<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>2. Use Yarn to install the project\u2019s dependencies:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>yarn install<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>3. Create an environment variable for your private key. Each wallet has a different process for exporting your private key \u2013 check your wallet\u2019s official documentation.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>export PRIVATE_KEY<\/mark><mark>=<\/mark><mark>'&lt;YOUR PRIVATE KEY&gt;'<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>4. Always be careful when dealing with your private key. Double-check that you\u2019re not hardcoding it anywhere or committing it to source control like GitHub. Anyone with access to your private key has complete control over your funds.<\/p>\n\n\n\n<p>5. Get the deployer address from Hardhat:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>yarn hardhat get<\/mark><mark>-<\/mark><mark>address<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>6. This will show you the Ethereum-style address associated with that private key and the Filecoin-style&nbsp;<code><mark>f4<\/mark><\/code>&nbsp;or&nbsp;<code><mark>t4<\/mark><\/code>&nbsp;address. The Ethereum address can be used for almost all Ethereum tooling.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"using-hardhart-development-framework-to-deploy-dapps-to-filecoin-network\">Using HardHart Development Framework to Deploy Dapps to Filecoin Network.<\/h2>\n\n<h3 class=\"wp-block-heading\" id=\"1-create-a-new-directory-for-your-dapp-project\">1. Create a new directory for your DApp project.<\/h3>\n\n\n<p>Open a terminal or command prompt on your computer.<\/p>\n\n\n\n<p>Run the following command to create a new directory for your project:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>mkdir my<\/mark><mark>-<\/mark><mark>dapp<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h3 class=\"wp-block-heading\" id=\"2-initialize-a-new-hardhat-project\">2. Initialize a new Hardhat project.<\/h3>\n\n\n<p>Navigate into the newly created project directory:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>cd my<\/mark><mark>-<\/mark><mark>dapp<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h3 class=\"wp-block-heading\" id=\"3-initialize-a-new-hardhat-project-by-running-the-following-command\">3. Initialize a new Hardhat project by running the following command.<\/h3>\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>yarn create hardhat<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h3 class=\"wp-block-heading\" id=\"4-configure-hardhat\">4. Configure Hardhat.<\/h3>\n\n\n<p>Open the hardhat.config.js file in a text editor.<\/p>\n\n\n\n<p>Replace the default contents with the following code:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>require<\/mark>(<mark>\"@nomiclabs\/hardhat-waffle\"<\/mark>);<br><mark>require<\/mark>(<mark>\"@chainsafe\/hardhat-filecoin\"<\/mark>);<br><br><mark>const<\/mark>&nbsp;<mark>mnemonic<\/mark>&nbsp;<mark>=<\/mark>&nbsp;<mark>\"&lt;YOUR_MNEMONIC&gt;\"<\/mark>; \/\/ Replace with your own mnemonic<br><br><mark>const<\/mark><mark>&nbsp;rpcEndpoint<\/mark>&nbsp;<mark>=<\/mark>&nbsp;<mark>\"https:\/\/fil.nownodes.io\/v1\/&lt;YOUR_API_KEY&gt;\"<\/mark>; \/\/ Replace &lt;YOUR_API_KEY&gt; with your NOWNodes API key<br><br><mark>const&nbsp;<\/mark><mark>apiKey<\/mark>&nbsp;<mark>=<\/mark>&nbsp;<mark>\"&lt;YOUR_API_KEY&gt;\"<\/mark>; \/\/ Replace with your NOWNodes API key<br><br><mark>module<\/mark>.<mark>exports<\/mark>&nbsp;<mark>=&nbsp;<\/mark>{<br>&nbsp;&nbsp;<mark>defaultNetwork<\/mark>:&nbsp;<mark>\"hardhat\"<\/mark>,<br>&nbsp;&nbsp;<mark>networks<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>hardhat<\/mark>: {},<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>filecoin<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>chainId<\/mark>:&nbsp;<mark>314<\/mark>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>url<\/mark>:&nbsp;<mark>rpcEndpoint<\/mark>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>accounts<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>mnemonic<\/mark>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>&nbsp;&nbsp;&nbsp;&nbsp;},<br>&nbsp;&nbsp;},<br>&nbsp;&nbsp;<mark>filecoin<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>apiKeys<\/mark>: [<mark>apiKey<\/mark>],<br>&nbsp;&nbsp;},<br>&nbsp;&nbsp;<mark>solidity<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>version<\/mark>:&nbsp;<mark>\"0.8.20\"<\/mark>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>settings<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>optimizer<\/mark>: {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>enabled<\/mark>:&nbsp;<mark>true<\/mark>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<mark>runs<\/mark>:&nbsp;<mark>200<\/mark>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>&nbsp;&nbsp;&nbsp;&nbsp;},<br>&nbsp;&nbsp;},<br>};<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Replace &lt;YOUR_MNEMONIC&gt; with your own mnemonic phrase associated with the wallet used for deployment.<\/p>\n\n\n\n<p>Replace &lt;YOUR_API_KEY> with your NOWNodes API key obtained from the\u00a0NOWNodes website.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-palette-color-7-color has-vivid-purple-background-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/nownodes.io\/pricing\" target=\"_blank\" rel=\"noreferrer noopener\">Get your personal Filecoin API key<\/a><\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"5-write-and-compile-your-smart-contracts\">5. Write and compile your smart contracts.<\/h3>\n\n\n<p>Create a new Solidity file in the contracts directory (e.g., MyContract.sol).<\/p>\n\n\n\n<p>Write your smart contract code in the Solidity file.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"6-deploy-your-dapp\">6. Deploy your DApp.<\/h3>\n\n\n<p>Open the scripts\/deploy.js file in a text editor.<\/p>\n\n\n\n<p>Replace the default contents with the following code.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>const<\/mark>&nbsp;{&nbsp;<mark>ethers<\/mark><mark>,<\/mark><mark>&nbsp;<\/mark><mark>upgrades<\/mark><mark>&nbsp;<\/mark>}&nbsp;<mark>=<\/mark>&nbsp;<mark>require<\/mark>(<mark>\"hardhat\"<\/mark>);<br><br><mark>async function main<\/mark>() {<br>&nbsp;<mark>&nbsp;<\/mark><mark>const<\/mark>&nbsp;<mark>MyContract<\/mark>&nbsp;<mark>=<\/mark>&nbsp;<mark>await ethers<\/mark>.<mark>getContractFactory<\/mark>(<mark>\"MyContract\"<\/mark>);<br>&nbsp;&nbsp;<mark>console<\/mark>.<mark>log<\/mark>(<mark>\"Deploying MyContract...\"<\/mark>);<br>&nbsp;&nbsp;<mark>const<\/mark>&nbsp;<mark>myContract<\/mark>&nbsp;<mark>=<\/mark>&nbsp;<mark>await upgrades<\/mark>.<mark>deployProxy<\/mark>(<mark>MyContract<\/mark>);<br>&nbsp;&nbsp;<mark>await myContract<\/mark>.<mark>deployed<\/mark>();<br>&nbsp;&nbsp;<mark>console<\/mark>.<mark>log<\/mark>(<mark>\"MyContract deployed to:\"<\/mark>,&nbsp;<mark>myContract<\/mark>.<mark>address<\/mark>);<br>}<br><br><mark>main<\/mark>()<br>&nbsp;&nbsp;.<mark>then<\/mark>(()&nbsp;<mark>=&gt;<\/mark>&nbsp;<mark>process<\/mark>.<mark>exit<\/mark>(<mark>0<\/mark>))<br>&nbsp;&nbsp;.<mark>catch<\/mark>((<mark>error<\/mark>)&nbsp;<mark>=&gt;<\/mark>&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>console<\/mark>.<mark>error<\/mark>(<mark>error<\/mark>);<br>&nbsp;&nbsp;&nbsp;&nbsp;<mark>process<\/mark>.<mark>exit<\/mark>(<mark>1<\/mark>);<br>&nbsp;&nbsp;});<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Make sure you have set up your project with the necessary dependencies and configurations as mentioned earlier. Then, replace&nbsp;<code>\"MyContract\"<\/code>&nbsp;in the&nbsp;<code><mark>const<\/mark>&nbsp;MyContract = await ethers.getContractFactory(\"MyContract\");<\/code>&nbsp;line with the name of your actual contract. You can save this code in a file named deploy.js in the scripts folder of your project.<\/p>\n\n\n\n<p>To deploy your DApp, run the following command in your terminal or command prompt:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><code><mark>npx hardhat run scripts<\/mark><mark>\/<\/mark><mark>deploy<\/mark>.<mark>js<\/mark>&nbsp;<mark>--<\/mark><mark>network filecoin<\/mark><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2 class=\"wp-block-heading\" id=\"nodes-in-blockchain-dapp-development\"><strong>Nodes in blockchain dApp development<\/strong>.<\/h2>\n\n\n<p>Nodes\u00a0play a crucial role in blockchain dApp development as they form the backbone of any decentralized network. They are responsible for validating transactions, maintaining consensus, and storing data. In the context of dApp development, nodes serve connection to the blockchain network, validation and consensus as well as data storage.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"why-to-use-node-providers\"><strong>Why to use node providers?<\/strong><\/h3>\n\n\n<p>Using a Filecoin RPC node provider can significantly streamline the dApp development process, while ensuring reliability, scalability, and security. By leveraging the services of a professional node provider, developers can focus on building and deploying their dApps, without worrying about the complexities of managing Filecoin nodes themselves.<\/p>\n\n\n\n<p>Here are some reasons why developers choose to use Filecoin node providers:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Reliability and uptime: NOWNodes is committed to maintaining high levels of uptime and availability, ensuring that our nodes are always accessible and functional. This guarantees a reliable connection to the Filecoin network, which is essential for dApps to operate smoothly.<\/li>\n\n\n\n<li>Security: Professional node providers implement strict security measures to protect their infrastructure, ensuring that nodes are secure and resistant to attacks.<\/li>\n\n\n\n<li>Cost-effectiveness: Developers avoid the costs of setting up and maintaining their own nodes. This can result in significant cost savings, especially for smaller projects and startups.<\/li>\n\n\n\n<li>Technical support: Filecoin node providers usually offer dedicated technical support, helping developers troubleshoot and resolve any issues related to their nodes. This minimizes potential downtime or disruptions to the dApp.<\/li>\n<\/ol>\n\n\n<h3 class=\"wp-block-heading\" id=\"developing-dapps-is-not-that-complicated\"><strong>Developing dApps is not that complicated<\/strong>.<\/h3>\n\n\n<p>The growing need for decentralized storage solutions has led to the development of innovative platforms like Filecoin. By following this guide, you can create your own dApp on Filecoin to harness the power of decentralized storage for various use cases, from secure file sharing to content distribution. With the help of reliable node providers like NOWNodes, developers can streamline their dApp development process and concentrate on building cutting-edge applications that will contribute to a more decentralized and resilient digital ecosystem.<br><br>Embrace the future of decentralized storage and unlock new possibilities for your projects by building on Filecoin!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Building a dApp on Filecoin becomes more popular among Web3 developers. That\u2019s the consequence of Filecoin becoming one of the most used blockchain networks for builders. It\u2019s happening due to several factors, including its unique approach to decentralized storage, growing ecosystem, and the increasing demand for decentralized solutions. What is Filecoin? A small 101 on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","_lmt_disableupdate":"","_lmt_disable":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[235,7],"tags":[237,236,238,40,13,123,39],"class_list":["post-697","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-filecoin","category-node-guides","tag-dapp","tag-filecoin","tag-how-to-build","tag-mainnet","tag-node-api-manuals","tag-rpc-nodes","tag-tutorial"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Build a dApp on Filecoin? | NOWNodes Blog<\/title>\n<meta name=\"description\" content=\"Building a dApp on Filecoin becomes more popular among Web3 developers. In this article you will know how to do that in simple way with...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nownodes.io\/blog\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build a dApp on Filecoin? | NOWNodes Blog\" \/>\n<meta property=\"og:description\" content=\"Building a dApp on Filecoin becomes more popular among Web3 developers. In this article you will know how to do that in simple way with...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nownodes.io\/blog\/\" \/>\n<meta property=\"og:site_name\" content=\"NOWNodes Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-28T12:41:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-28T12:41:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nownodes.io\/blog\/wp-content\/uploads\/2024\/05\/How-to-Build-a-dApp-on-Filecoin_.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2320\" \/>\n\t<meta property=\"og:image:height\" content=\"1305\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"NOWNodes Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nownodes\" \/>\n<meta name=\"twitter:site\" content=\"@nownodes\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"NOWNodes Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/nownodes.io\/blog#article\",\"isPartOf\":{\"@id\":\"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/\"},\"author\":{\"name\":\"NOWNodes Team\",\"@id\":\"https:\/\/nownodes.io\/blog\/#\/schema\/person\/c041891469390738b68a2aafe063f93c\"},\"headline\":\"How to Build a dApp on Filecoin?\",\"datePublished\":\"2024-05-28T12:41:33+00:00\",\"dateModified\":\"2024-05-28T12:41:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/\"},\"wordCount\":1103,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/nownodes.io\/blog\/#organization\"},\"keywords\":[\"dApp\",\"Filecoin\",\"how to build\",\"Mainnet\",\"node api manuals\",\"RPC Nodes\",\"Tutorial\"],\"articleSection\":[\"Filecoin\",\"Node Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/nownodes.io\/blog#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/\",\"url\":\"https:\/\/nownodes.io\/blog\",\"name\":\"How to Build a dApp on Filecoin? | NOWNodes Blog\",\"isPartOf\":{\"@id\":\"https:\/\/nownodes.io\/blog\/#website\"},\"datePublished\":\"2024-05-28T12:41:33+00:00\",\"dateModified\":\"2024-05-28T12:41:45+00:00\",\"description\":\"Building a dApp on Filecoin becomes more popular among Web3 developers. In this article you will know how to do that in simple way with...\",\"breadcrumb\":{\"@id\":\"https:\/\/nownodes.io\/blog#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nownodes.io\/blog\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nownodes.io\/blog#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/nownodes.io\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Node Guides\",\"item\":\"https:\/\/nownodes.io\/blog\/category\/node-guides\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Build a dApp on Filecoin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nownodes.io\/blog\/#website\",\"url\":\"https:\/\/nownodes.io\/blog\/\",\"name\":\"NOWNodes Blog\",\"description\":\"Your first-to-go source of development guides, web3 analytics and most recent news about NOWNodes\",\"publisher\":{\"@id\":\"https:\/\/nownodes.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nownodes.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/nownodes.io\/blog\/#organization\",\"name\":\"NOWNodes Blog\",\"url\":\"https:\/\/nownodes.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nownodes.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/nownodes.io\/blog\/wp-content\/uploads\/2024\/02\/cropped-New-Logo-NN.png\",\"contentUrl\":\"https:\/\/nownodes.io\/blog\/wp-content\/uploads\/2024\/02\/cropped-New-Logo-NN.png\",\"width\":1164,\"height\":1164,\"caption\":\"NOWNodes Blog\"},\"image\":{\"@id\":\"https:\/\/nownodes.io\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/twitter.com\/nownodes\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/nownodes.io\/blog\/#\/schema\/person\/c041891469390738b68a2aafe063f93c\",\"name\":\"NOWNodes Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nownodes.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/084e45aa2f2bfa61b9ce9f41af97a74f38e87c065b0d49f23a1bb84727320c2e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/084e45aa2f2bfa61b9ce9f41af97a74f38e87c065b0d49f23a1bb84727320c2e?s=96&d=mm&r=g\",\"caption\":\"NOWNodes Team\"},\"sameAs\":[\"http:\/\/65.108.139.113\"],\"url\":\"https:\/\/nownodes.io\/blog\/author\/nownodes\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Build a dApp on Filecoin? | NOWNodes Blog","description":"Building a dApp on Filecoin becomes more popular among Web3 developers. In this article you will know how to do that in simple way with...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nownodes.io\/blog\/","og_locale":"en_US","og_type":"article","og_title":"How to Build a dApp on Filecoin? | NOWNodes Blog","og_description":"Building a dApp on Filecoin becomes more popular among Web3 developers. In this article you will know how to do that in simple way with...","og_url":"https:\/\/nownodes.io\/blog\/","og_site_name":"NOWNodes Blog","article_published_time":"2024-05-28T12:41:33+00:00","article_modified_time":"2024-05-28T12:41:45+00:00","og_image":[{"width":2320,"height":1305,"url":"https:\/\/nownodes.io\/blog\/wp-content\/uploads\/2024\/05\/How-to-Build-a-dApp-on-Filecoin_.jpg","type":"image\/jpeg"}],"author":"NOWNodes Team","twitter_card":"summary_large_image","twitter_creator":"@nownodes","twitter_site":"@nownodes","twitter_misc":{"Written by":"NOWNodes Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nownodes.io\/blog#article","isPartOf":{"@id":"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/"},"author":{"name":"NOWNodes Team","@id":"https:\/\/nownodes.io\/blog\/#\/schema\/person\/c041891469390738b68a2aafe063f93c"},"headline":"How to Build a dApp on Filecoin?","datePublished":"2024-05-28T12:41:33+00:00","dateModified":"2024-05-28T12:41:45+00:00","mainEntityOfPage":{"@id":"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/"},"wordCount":1103,"commentCount":0,"publisher":{"@id":"https:\/\/nownodes.io\/blog\/#organization"},"keywords":["dApp","Filecoin","how to build","Mainnet","node api manuals","RPC Nodes","Tutorial"],"articleSection":["Filecoin","Node Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nownodes.io\/blog#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nownodes.io\/blog\/how-to-build-a-dapp-on-filecoin\/","url":"https:\/\/nownodes.io\/blog","name":"How to Build a dApp on Filecoin? | NOWNodes Blog","isPartOf":{"@id":"https:\/\/nownodes.io\/blog\/#website"},"datePublished":"2024-05-28T12:41:33+00:00","dateModified":"2024-05-28T12:41:45+00:00","description":"Building a dApp on Filecoin becomes more popular among Web3 developers. In this article you will know how to do that in simple way with...","breadcrumb":{"@id":"https:\/\/nownodes.io\/blog#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nownodes.io\/blog"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/nownodes.io\/blog#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/nownodes.io\/blog"},{"@type":"ListItem","position":2,"name":"Node Guides","item":"https:\/\/nownodes.io\/blog\/category\/node-guides"},{"@type":"ListItem","position":3,"name":"How to Build a dApp on Filecoin?"}]},{"@type":"WebSite","@id":"https:\/\/nownodes.io\/blog\/#website","url":"https:\/\/nownodes.io\/blog\/","name":"NOWNodes Blog","description":"Your first-to-go source of development guides, web3 analytics and most recent news about NOWNodes","publisher":{"@id":"https:\/\/nownodes.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nownodes.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/nownodes.io\/blog\/#organization","name":"NOWNodes Blog","url":"https:\/\/nownodes.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nownodes.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/nownodes.io\/blog\/wp-content\/uploads\/2024\/02\/cropped-New-Logo-NN.png","contentUrl":"https:\/\/nownodes.io\/blog\/wp-content\/uploads\/2024\/02\/cropped-New-Logo-NN.png","width":1164,"height":1164,"caption":"NOWNodes Blog"},"image":{"@id":"https:\/\/nownodes.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/twitter.com\/nownodes"]},{"@type":"Person","@id":"https:\/\/nownodes.io\/blog\/#\/schema\/person\/c041891469390738b68a2aafe063f93c","name":"NOWNodes Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nownodes.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/084e45aa2f2bfa61b9ce9f41af97a74f38e87c065b0d49f23a1bb84727320c2e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/084e45aa2f2bfa61b9ce9f41af97a74f38e87c065b0d49f23a1bb84727320c2e?s=96&d=mm&r=g","caption":"NOWNodes Team"},"sameAs":["http:\/\/65.108.139.113"],"url":"https:\/\/nownodes.io\/blog\/author\/nownodes"}]}},"modified_by":"NOWNodes Team","_links":{"self":[{"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/posts\/697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/comments?post=697"}],"version-history":[{"count":2,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/posts\/697\/revisions"}],"predecessor-version":[{"id":703,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/posts\/697\/revisions\/703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/media\/699"}],"wp:attachment":[{"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/media?parent=697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/categories?post=697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nownodes.io\/blog\/wp-json\/wp\/v2\/tags?post=697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}