Our Tech
Last updated
Last updated
Our website provides a live, real-time visualization of the $PEPEGEN holder base, delivering fresh insights into the entire token ecosystem. Each wallet is uniquely represented by a personalized pepe, scaled proportionally to its $PEPEGEN holdings for easy comparison.
The Pepe Hash
PEPEGEN employs an advanced cryptographic framework to generate one-of-a-kind, on-chain visual identities for each holder. These visualizations are created through a deterministic process that ensures the uniqueness of each pepe.
Wallet Address Hashing Process: The wallet address serves as the entropy source for generating pepe attributes through SHA-256 hashing, resulting in a 64-character hexadecimal string. Various segments of the hash define the pepe's visual properties:
Digits 0-6: Determine color gradients and hat styles via a custom hash-to-value algorithm, ensuring distinct headgear.
Digits 6-12: Define shirt colors and shapes using modular arithmetic and permutation lookup tables for combinations like sleeve length and collar type.
Digits 12-18: Specify footwear attributes through bitwise shifting operations and predefined bitmask values.
Digits 18-24: Map to pants styles (e.g., shorts, trousers) using modular lookups and conditional branching algorithms.
Digits 24-32: Calculate spatial positions on the visual grid using Euclidean distance algorithms, ensuring each pepe occupies a unique space.
Scaling by $PEPEGEN Balance: The scale of each pepe correlates with the wallet's token holdings, calculated using a logarithmic transformation. This method ensures a balanced visual representation, with larger holdings producing proportionally larger pepe while maintaining visual consistency.
This robust cryptographic and algorithmic approach guarantees that each pepe is a unique reflection of its wallet's blockchain identity, seamlessly integrating personalization with data integrity.
The Recent Input section displays live transaction data fetched directly from the blockchain, including:
Timestamp: Shows the exact time of the transaction in UTC, with relative updates (e.g., "2m ago") for convenience.
Sender’s Wallet Address: Displays a truncated version of the originating wallet address, hashed and encoded for privacy.
Transaction Amount: Captures the number of tokens transferred, pulled in real-time from the Ethereum blockchain via Web3.js RPC calls.
This real-time aggregation is powered by Ethereum’s RPC API, ensuring a dynamic, up-to-date view of wallet interactions and ecosystem activity.
The Leaderboard showcases the largest holders in the ecosystem, ranked by their $PEPEGEN token holdings. Each entry includes:
Rank: Position in the leaderboard.
Shortened Wallet Address: A condensed format of the wallet address for easy reference.
Token Percentage: The share of total tokens held by the wallet.
This feature highlights key contributors, encourages engagement, and fosters healthy competition within the community.
By blending cryptographic innovation, blockchain data, and intuitive design, PEPEGEN sets a new standard in visualizing on-chain identities and fostering community interaction.
PEPEGEN employs an advanced cryptographic framework to generate one-of-a-kind, on-chain visual identities for each holder. These visualizations are created through a deterministic process that ensures the uniqueness of each pepe..
Wallet Address Hashing: The wallet address serves as the primary entropy source for generating pepe attributes. The address undergoes SHA-256 hashing, our cryptographic hash function, yielding a 64-character hexadecimal string that serves as the unique identifier for each wallet's pepe. From this hash, different segments of the hash are utilized to derive visual properties:
Digits 0-6: These digits are mapped to a pre-calculated set of color gradients and hat styles using a custom hash-to-value mapping algorithm. We apply a modulo operation with a range of predefined values to select one of several color options and hat designs, which creates a visually distinct headgear.
Digits 6-12: A separate modular arithmetic function is applied to this range of the hash to select shirt color and shirt shape. The shape is determined by utilizing permutation-based lookup tables that correspond to different combinations of attributes (e.g., sleeve length, collar type).
Digits 12-18: These segments undergo a bitwise shifting operation to define the footwear properties. By splitting the 6-character segment into smaller byte chunks, we generate unique combinations of shoe color and shoe form through predefined bitmask values that map directly to footwear shapes.
Digits 18-24: A similar approach is applied here to determine pants attributes. Each 6-character segment is mapped to a color palette and pants style using modular lookups, and a conditional branching algorithm is utilized to differentiate between styles like shorts, trousers, or skirts based on input hash values.
Digits 24-32: These final digits are used to compute the spatial position (X and Y coordinates) of the pepe within the ecosystem's visual space. The calculation is performed using Euclidean distance algorithms, with the final position determined by scaling and rotation matrices to ensure unique placement of each pepe on the visual grid.
This function ensures that the pepe's size grows at a diminishing rate as the token balance increases, preventing disproportionate scaling for large holders while maintaining clear visual differentiation between users.
This cryptographically powered approach guarantees that each pepegen is not just a random visual but a mathematically generated entity that reflects the precise data associated with a user's wallet and token holdings. With PEPEGEN, you can be assured that no two pepegen will ever be the same, as each one is intricately tied to the wallet’s unique cryptographic identity and token balance.
By combining cryptographic principles, blockchain data, and deterministic design algorithms, PEPEGEN brings an entirely new level of precision and personalization to visualizing on-chain identities.
Balance of $PEPEGEN: The amount of $PEPEGEN tokens held by the wallet directly impacts the scale factor of the generated pepe. To calculate this, we perform a logarithmic transformation of the token balance, ensuring that wallets with larger holdings produce larger pepe. The function used to map the token balance to the pepegen's size is: