PoS HTE

Overview

HTE is the native token inside the Hepton PoS where it works as the utility for developers or communities to interact with the PoS network. HTE will be used as gas for the network to process any transactions inside the Hepton PoS. Below is the script example of how HTE was transferred from one account into another account inside Hepton PoS.

let Web3 = require("web3");

// Replace value of rpc with https://testnet.hepton.io for Testnet
let rpc = "mainnet rpc attached here";

const provider = new Web3.providers.HttpProvider(rpc);
const web3 = new Web3(provider);

// Add your private key
web3.eth.accounts.wallet.add("pvt-key");

// Send 10 HTE
web3.eth
  .sendTransaction({
    from: "your address",
    to: "to address",
    value: web3.utils.toWei("10", "ether"),
    gas: 8000000,
  })
  .then(function (receipt) {
    console.log(receipt);
  });

Mapped-HTE contract

TokenEthereum & Optimism (PC)Hepton PoS (CC)

HTE

TBA

TBA

Last updated