Testnet

CHIPS TESTNET IS FOR TESTING PURPOSES ONLY. TEST $CHIPS HAVE NO REAL-WORLD VALUE AND MUST NOT BE RESOLD OR USED FOR SPECULATION. THIS IS A BETA ENVIRONMENT — PERFORMANCE, UPTIME, AND FEATURES MAY CHANGE AS DEVELOPMENT CONTINUES. FEEDBACK FROM TESTERS IS WELCOME AND HELPS IMPROVE THE CHIPS PROTOCOL BEFORE MAINNET LAUNCH.


Here are the testing details for testing testnet on the CHIPS blockchain:

Testing CHIPS Testnet

Setting Up a CHIPS Testnet Wallet

Before testing on CHIPS testnet, you need a compatible wallet that supports CHIPS testnet transactions. Some popular choices include:

Configuring MetaMask for CHIPS Testnet

To manually add the CHIPS testnet to MetaMask:

  1. Open MetaMask and navigate to the top left drop down for Networks.

  2. Click Add a Network and enter the following details:

    1. Network Name: CHIP DEV

    2. Chain ID: 714

    3. Currency Symbol: CHIPS

3. Save and switch to the CHIPS Testnet network.


Getting CHIPS Testnet Tokens

To conduct transactions on CHIPS testnet, you’ll need test CHIPS tokens.

  1. Visit https://chips-faucet-new.vercel.app (community developed dAPP 😄)

  2. Enter your wallet address

  3. Tap claim to receive test CHIPS tokens


Deploying Smart Contracts on CHIPS Testnet

To deploy and test smart contracts on CHIPS Testnet, follow these steps:

  1. Install Node.js and Hardhat (or Truffle/Foundry):

npm install -g hardhat
  1. Create a new Hardhat project:

mkdir chips-testnet && cd chips-testnet
npx hardhat
  1. Modify hardhat.config.js to include CHIPS Testnet RPC:

module.exports = {
  networks: {
    chipsTestnet: {
      url: 'https://testnet-rpc.chips.com',
      accounts: ['PRIVATE_KEY']
    }
  }
};
  1. Compile and deploy:

npx hardhat compile
npx hardhat run scripts/deploy.js --network chipsTestnet

Testing Transactions on CHIPS Testnet

To test transactions:

  1. Send CHIPS test tokens between two wallets.

  2. Interact with smart contracts via Ethers.js or Web3.js.

  3. Verify transactions using the CHIPS Testnet block explorer.

Example code to send CHIPS using Ethers.js:

const ethers = require('ethers');

const provider = new ethers.providers.JsonRpcProvider('https://testnet-rpc.chips.com');
const senderWallet = new ethers.Wallet('PRIVATE_KEY', provider);

async function sendCHIPS() {
    const tx = await senderWallet.sendTransaction({
        to: '0xRecipientAddress',
        value: ethers.utils.parseEther('1.0')
    });

    console.log('Transaction Hash:', tx.hash);
    await tx.wait();
    console.log('Transaction Confirmed');
}

sendCHIPS();

Monitoring & Debugging

  • Use CHIPS Testnet Explorer at http://testnet.chipsprotocol.com to verify transactions.

  • Enable logging in your smart contract and use Hardhat console for debugging.

Last updated