Heroglyphs Protocol
  • Heroglyphs
    • Validators
      • Identity
      • Graffiti
      • Attestation (Medals & Badges)
        • States
    • Non-Validator
    • Technical Zone
      • Tickers
        • Create / Update
    • Developers
      • Testnet Testing
    • Contracts
    • Game
      • How to play
      • Genesis Tokens
  • Obelisk
    • Overview
      • Hashmasks
    • HCT
    • Cost / Fee
    • Video Walkthru's
    • Contracts
    • FAQ
  • Links
    • Discord
    • Twitter
    • Website
    • Warpcast
    • Github
Powered by GitBook
On this page
  • Trigger a Graffiti
  • Mint $BADGES
  • Deployed Contracts - Sepolia
  1. Heroglyphs
  2. Developers

Testnet Testing

Trigger a Graffiti

Call HeroglyphRelay.executeRelay. We removed the security on the testnet

function executeRelay(GraffitiData[] calldata _graffities) external 
    returns (uint256 totalOfExecutions_);

Where GraffitiData is

    struct GraffitiData {
        string validatorName; // validator identity name
        string[] tickers; // tickers in the graffiti, can be empty
        uint32[] lzEndpointTargets; //lzEndpointTargets for each tickers
        uint32 mintedBlock; // block minted
        uint32 slotNumber; // Slot of the block
        string graffitiText; // Graffiti Text -- Only for F-E
        uint32 validatorId; // Validator Id -- Much match the Graffiti ID's validator
    }

Mint $BADGES

If for some reason you want to use badges, you can mint them with

HeroglyphAttestation.faucet(address _to)

Deployed Contracts - Sepolia

NameFilterV1

ValidatorIdentityV2

Ticker

HeroglyphRelay

HeroglyphAttestation

PreviousDevelopersNextContracts

Last updated 1 year ago

0xaC5907c4B4B8d34523a02e6421bB84992C058400
0x48bCDb36e473a901527E21eC56bAe930d28C2D4d
0xdD1c1afA241663C6c3Bdb54C5112F0900eFFd52e
0x1bAE16B284df79e8562d1bdD9538B2e93a6c40Fc
0xd837D9810a1dC2C45107B3F5C04261C974D2C001