Comment on page
Deploy a dApp
The purpose of this tutorial is to help you on launching and deploying your Ethereum dApp on PHI Network. We have compiled a series of resources designated to help you get the basics of PHI Network and how it works, explain to you how to connect to our mainnet public ledger, and how to use an array of existing IDEs, tools, and libraries to develop and deploy on PHI Network.
PHI Network is an open-source DAG programable smart contracts platform built for decentralized and enterprise-level applications, in one highly scalable ecosystem. It is ideal for you to deploy and run your dApp, as it will present you not only with a reliable platform to do so, but an array of development tools that will help you to scale your idea.
We run two public ledgers where you can deploy your dApp, PHI Network, and Divine Testnet - our mainnet and our testnet respectively. You can definitely run a production dApp on Divine Testnet, the main difference laying on the fact that on Divine Testnet you won't be able to monetize it on-chain, as DST (Divine Testnet's native token) can be acquired for free.
Both our public ledgers run a fork go-ethereum, called go-phi, that has the networking, consensus, and console features replaced with PHI Network's equivalents, what's left being the Ethereum Virtual Machine, which runs Solidity smart contracts and manages data structures and blocks on the network. That means it is compatible with Ethereum dApps, as well as with its IDEs, and most wallet providers.
PHI Network uses a subset of the Ethereum API methods, which you can explorer further in our JSON RPC Methods page, but overall, you can use all the familiar APIs and IDEs that are available on Ethereum for interacting with PHI Network.
Instead of proxying your network interaction through a Web 3 wallet provider, you can use any official public node to call PHI Network's publicly available APIs.
You can run your own instance of PHI Network for development and testing purposes. For that you can download and install our publicly available versions of either go-phi or go-divine in your local machine.
Being compatible with Ethereum, most development tools available for Ethereum will also be compatible with PHI Network. A list of the most used IDEs to deploy smart contracts below:
If you are deploying in one of our public ledgers, you will be able to use our officially supported block explorer to index and pull blockchain data.
You don't have to verify your contract to call its functions on PHI Network. We have made available our Smart Contracts interface, where you can upload your contract's ABI code, specify its network address, and call its functions.
We strive to have a comprehensive and easy-to-read documentation, but if you cannot find what you are looking for here, feel free to reach out to our support team directly, and we will be happy to help.