Circuit Node Sale Contract

Here’s the revised page for the Circuit Node Sale contract, tailored to the Ethereum Sepolia Testnet and updated to reflect the latest deployment details:


Circuit Node Sale Contract Guide

This guide walks you through interacting with the Circuit Node Sale contract, deployed on the Ethereum Sepolia Testnet. We’ll cover how to access the contract, read the price, and purchase node licenses.

Contract Details


How to Read the Circuit License Chip Price

The Circuit License Chip contract price is dynamic. Use the steps below to get the latest price for the number of keys (licenses) you want to buy.

Steps to Read the Node License Price

  1. Go to the Node License contract on etherscan.

  2. Scroll down to “17. price” in the Read Contract section.

    • Input: Enter the number of keys (licenses) you want to purchase.

    • Output: The uint256 value returned represents the price in Wei.

  3. Convert the Wei value to Ether using an Ethereum Unit Converter.

    • Example:

      • Wei value: 220986939450000000

      • Converted to Ether: 0.22098693945 ETH


Purchasing Circuit License Chip

After retrieving the price for the number of licenses, follow these steps to make a purchase using the Circuit License Chip contract on Ethereum Sepolia.

Steps to Purchase Circuit License Chips

  1. Connect to the Node License contract on etherscan

    • Use a Web3 wallet (e.g., MetaMask) connected to the Ethereum Sepolia network.

  2. Go to the “5. mint” function under the Write Contract section.

  3. Enter the following inputs:

    • Wei value: Paste the price you calculated in the previous step.

    • _amount (uint256): Enter the number of keys (licenses) you want to mint.

  4. Click “Write” to submit the transaction.

  5. Approve the transaction in your connected wallet.


Verifying Purchase on Sepolia Testnet

After purchasing, you can verify the transaction by interacting with the GRIDNodeSale contract on the Sepolia Testnet.

Steps to Verify:

  1. Open the GRIDNodeSale contract on Sepolia Etherscan.

  2. Use the Read Contract section to:

    • Check ownership of licenses.

    • Retrieve license data based on your wallet address.


Troubleshooting

  • Insufficient Gas: Ensure your wallet has enough ETH on Sepolia for gas fees.

  • Transaction Errors: Verify the price input in Wei and ensure it's correctly converted from Ether.