Deploy a dApp
Overview
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.
Platform Basics
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.
Network Interaction
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.
Using a Web 3 Wallet
Using the Public APIs
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.
Running a Local Test Network
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.
Developing and Deploying Contracts
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:
PHI Explorer
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.
Faucets
Contract Function Calls
Further Support
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.
Last updated