Deploy a smart contract on Pharos
Learn how to deploy a smart contract on Pharos using GetBlock's RPC endpoint.
Pharos is EVM-compatible, so contracts deploy with the standard Solidity toolchain — Foundry, Hardhat, or Remix — pointed at a GetBlock endpoint, with no chain-specific compiler or plugin required. Gas is paid in PHRS. This guide covers adding the network to a wallet and deploying a first contract.
Prerequisites
An EVM wallet (such as MetaMask) with PHRS for gas — see Add Network to Your Wallet and Funding Your Deployer
A GetBlock access token — the endpoint is
https://shared.us-east-1.getblock.io/<ACCESS-TOKEN>/A funded deployer address with PHRS
Network Details
Network Name
Pharos
RPC URL
https://shared.us-east-1.getblock.io//
Chain ID
1672(0x688)
Currency Symbol
PHRS
Block Explorer
Add Network to Your Wallet
Pharos is not pre-configured in MetaMask by default, so it must be added manually — follow the steps below:
Enter network details
Enter the values from the Network Details table above.
Deploy with Foundry
Deploy with Hardhat
After Deploying
Read contract state through the
eth_callmethod against your GetBlock endpointWatch contract events with
eth_getLogsExplore your contract and transactions on the Pharos explorer
Last updated
Was this helpful?