Phoenix Global Layer 1 Mainnet Launch

Phoenix
5 min readJun 30, 2022

Dear Phoenix Community & Partners,

We thank you for your ongoing support and we are glad to announce that Phoenix Global has officially launched its Layer 1 Mainnet! You can view the network via the new blockchain explorer at: https://explorer.phoenix.global.

We Are Just Getting Started

The launch of our Layer 1 Mainnet is just the beginning, Layer 2 for Privacy Computations, Oracle Network, On-Chain Federated Learning, are all modules our core development teams are actively working on to rollout in succession. We plan to continue executing our strategy, upgrading our technology, and cementing our role as an early niche player in the decentralized data and AI applications space and position ourselves well for the Web3 era.

Our dedicated focus on data-driven applications will be our differentiator — as a Layer 1 we do not plan on putting any resources into developing a DeFi ecosystem. We understand the current market conditions are not ideal, however we are making various preparations on marketing, branding, and PR side. We can expect a rebrand, position optimization, and new website shortly after this launch.

Developer Airdrops & Testing

We plan to support developer testing of our Layer 1 platform immediately — before we decide to support automated token swaps, developers in our community and partners can send in request for mainnet airdrop tokens for developing apps and test smart contract deployment. We will be releasing a developer airdrop signup form shortly. Layer 2 testing will be released soon as well.

Instructions for connecting MetaMask to Phoenix Chain are provided below. For more advanced users, we’ve provided instructions on deploying smart contracts. Steps for receiving an initial tokens to support testing will be available soon — check in on our Telegram for the latest.

Thank-you to our partners and our community for your support as we reach this huge milestone. It has been a long journey, and it is only just the beginning!

Metamask Support

Our Layer 1 Mainnet seamlessly supports Metamask! Basic instructions are as follows to add the Phoenix network to your MetaMask.

Note: For now, MM support is only available in the Chrome browser.

1. Open the MetaMask wallet in Chrome

Go to your web browser and open your wallet.

2. Go to Settings and select Network

Click on your profile picture (top right hand corner). Navigate to Settings in the pop-up menu. From there select the option saying Networks.

3. Click on Add Network

Once you select Networks, you’ll see all the networks that you have added. On the bottom of that menu, you can see a new button named “Add Network”. You may click on it and proceed with adding a new network.

When you try to add a new MetaMask network, you will need to enter some information. Enter the following:

Network Name — PhoenixMainNet

New RPC Rulehttp://39.104.61.131:6888

Chain ID — 908

Currency Symbol — PHC

4. Click on Save

Click save, and you should see your newly added Phoenix Mainnet under the network selection.

How to Deploy Smart Contract on Phoenix using Remix

  1. Navigate to remix.ethereum.org
  • Ensure that MetaMask is open, and you have PhoenixMainNet selected.
  • Locate the button/icon for ‘Deploy & run transactions’ on the left-hand navigation. Currently, this is the 4th icon down.
  • This will prompt a connection between Remix & Phoenix Mainnet in MetaMask. Select the wallet you want to connect.
  • Under the Environment drop down, choose Injected Web3

2. Create a new file

  • Click on the 2nd icon/button on the left side ‘File Explorer’
  • Locate the icon/button to ‘Create New File
  • Enter the file name: SimpleStorage.sol

3. Create the smart contract

Copy the following smart contract into the main text field on the right-hand side.

//SPDX-License-Identifier: UNLINCESED

pragma solidity >=0.4.0 <0.7.0;

contract SimpleStorage {

uint storedData;

function set(uint x) public {

storedData = x;

}

function get() public view returns (uint) {

return storedData;

}

}

Let’s take a look at this contract….

SimpleStorage.sol

This smart contract has:

· A variable storedData to store a number

· A function get() to return the number stored at variable storedData

· A function set() to change the number stored at variable storedData

4. Compile the smart contract

  • Select 3rd icon/button at left side ‘Solidity compiler

Note: It is useful to enable auto-compile

  • Click ‘Compile SimpleStorage.sol

If everything is entered correctly, you should see a green check-mark next to the 3rd icon/button with the message ‘Compilation successful’.

5. Deploy a smart contract

Note: To submit the transaction, you’ll need PHB tokens for gas. A form will be made available shortly to request PHB to support developer tasks.

  • Navigate back to the icon/button ‘Deploy & run transactions’
  • Since we have only one smart contract so far, it is automatically selected in the dropdown.
  • Click ‘Deploy’.
  • This will send the transaction to Metamask, requesting confirmation to create the smart contract SimpleStorage.sol
  • Click on confirm.
  • At bottom right, we can check the message: creation of SimpleStorage pending…
  • MetaMask will prompt that the transaction has been confirmed.
  • In Remix, click on the transaction line or the debug button (at the right side) to see more details of the transaction:

Is this example, the transaction hash is: 0x604c0512e3bf41c3dca7a57ffe30ad0d232759b0a3cdc579a28871ede2cc0950

You can also view the example hash in Phoenix Explorer

6. Success!

You’ve successfully deployed a smart contract on Phoenix Mainnet. Congratulations!

If you have any questions, comments, or need further assistance, join us over on our Telegram https://t.me/APEXcommunity

--

--

Phoenix

Phoenix is an L1 and L2 blockchain infrastructure, empowering intelligent Web3 applications, focusing on the next generation of AI & Privacy-Enabled Web3 Apps.