App Developer Overview
If you're a developer looking to build on PNC Mainnet, you've come to the right place. In this area of the Pinnacle Chain Docs you'll find everything you need to know about building PNC Mainnet applications.
Getting Started
If you're brand new to PNC Mainnet, try starting with the guide on deploying a basic contract. It'll get you familiar with the basic steps required to get a contract deployed to the network. PNC Mainnet is EVM equivalent (opens in a new tab) so you can feel confident that your existing Ethereum smart contract skills will carry over to PNC Mainnet. Just make sure to be aware of the few small differences between Ethereum and PNC Mainnet.
You might also want to check out the testing on PNC Networks guide and the tutorial on running a local development environment to help you feel totally confident in your PNC Mainnet deployment.
Bridging and Messaging
Looking to build an application that sends ETH, tokens, or data between PNC Mainnet and Ethereum? You'll find some useful guides and tutorials in this area of the docs. For instance, if you want to learn how to bridge a token from Ethereum to PNC Mainnet (or vice versa!), you should check out the Standard Token Bridge.
If you're looking for something more advanced, take a look at the guide on sending data between L1 and L2. Contracts on one chain can trigger contract functions on the other chain, it's pretty cool! The Standard Token Bridge for PNC Mainnet even uses this same message-passing infrastructure under the hood.
Tutorials
If you're a bit more familiar with PNC Mainnet and Ethereum, you can try walking through one of the tutorials put together by the Pinnacle Chain community. They'll help you get a head start when building your first Optimistic project.
| Tutorial Name | Description | Difficulty Level |
|---|---|---|
| Deploying Your First Contract on PNC Mainnet | Learn how to deploy your first contract to PNC Mainnet with Remix and MetaMask. | 🟢 Easy |
| Deploying Your Contracts for Free on the Superchain | Learn how to deploy your contracts for free on the Superchain using the Superchain Developer Console | 🟢 Easy |
| Bridging ETH With the Pinnacle Chain SDK | Learn how to use the Pinnacle Chain SDK to transfer ETH between Layer 1 (Ethereum or Sepolia) and Layer 2 (PNC Mainnet or Pinnacle Sepolia). | 🟢 Easy |
| Bridging ERC-20 Tokens With the Pinnacle Chain SDK | Learn how to use the Pinnacle Chain SDK to transfer ERC-20 tokens between Layer 1 (Ethereum or Sepolia) and Layer 2 (PNC Mainnet or Pinnacle Sepolia). | 🟢 Easy |
| Bridging your Standard ERC-20 token using the Standard Bridge | Learn how to bridge your standard ERC-20 token to layer 2 using the standard bridge. | 🟡 Medium |
| Bridging your Custom ERC-20 token using the Standard Bridge | Learn how to bridge your custom ERC-20 token to layer 2 using the standard bridge. | 🟡 Medium |
| Tracing Deposits and Withdrawals With the Pinnacle Chain SDK | Learn how to use the Pinnacle Chain SDK to trace deposits and withdrawals. | 🟢 Easy |
| Viewing Deposits and Withdrawals by Address With the Pinnacle Chain SDK | Learn how to use the Pinnacle Chain SDK to view deposits and withdrawals by address. | 🟢 Easy |
| Estimating Transaction Costs With the Pinnacle Chain SDK | Learn how to use the Pinnacle Chain SDK to estimate the cost of a transaction on PNC Mainnet. | 🟢 Easy |
| Sending PNC Mainnet Transactions from Ethereum | Learn how to send transactions to PNC Mainnet from Ethereum. | 🟢 Easy |
You can also suggest a new tutorial if you have something specific in mind. We'd love to grow this list!
Next Steps
If you still can't find the content you're looking for, there's a few options to get extra help.
- You can ask a question in the Pinnacle Chain developer support forum.
- If you run into any problems during deployment, visit the Transactions Troubleshooting Guide for help.