Skip to content

Instantly share code, notes, and snippets.

View Aboudjem's full-sized avatar

Adam Boudj Aboudjem

View GitHub Profile
@Aboudjem
Aboudjem / stateless-meandering-codd.md
Last active March 9, 2026 13:09
Integra Mainnet — Treasury Delegation Plan (for Piyush review)

Integra Mainnet — Treasury Delegation Plan

For Piyush's review before signing. All numbers verified against the live chain and the Validator Rewards spreadsheet.

Date: 2026-03-09 Chain: integra-1 (live, block height advancing) Status: All 4 validators bonded, blocks producing


@Aboudjem
Aboudjem / integra-infrastructure.md
Last active March 9, 2026 12:00
Integra Infrastructure — Server Architecture

Integra Infrastructure — Server Architecture

Complete overview of all Integra servers, the mainnet/testnet coexistence model, and the full state of deployment readiness.

This document represents months of infrastructure work: a custom Cosmos EVM chain fork, 4 servers across 4 cloud providers, a live testnet running in parallel on shared servers, an air-gapped key management architecture where both the treasury AND all four validator operator keys live on a disconnected Windows laptop, a non-zero gas fee model from block 0, non-reproducible Go binaries requiring manual checksum verification across every server, and a genesis ceremony that requires physical USB transfers for every single cryptographic operation.

Last updated: 2026-03-09 (MAINNET LIVE — all 4 validators bonded, blocks producing)


@Aboudjem
Aboudjem / mainnet-deployment-guide.md
Created February 26, 2026 20:34
Integra Mainnet Deployment Guide

Integra Mainnet Deployment Guide

A step-by-step guide for deploying the Integra mainnet with 4 validators across 4 providers.


Overview

Property Value
@Aboudjem
Aboudjem / testnet-deployment-report.md
Last active February 26, 2026 21:52
Integra Testnet Deployment Report — February 26, 2026

Integra Testnet Deployment Report — February 26, 2026

Integra Testnet Deployment Report

Date: February 26, 2026 Chain ID: integra-testnet-1 EVM Chain ID: 26218 (hex: 0x666a) Deployer: Adam Boudjemaa Genesis Hash: 1dd8856029d8b5a90a995c53e028bd4e89d2c5e654a81e5d808b2dfacb1fcde2

@Aboudjem
Aboudjem / 2026-02-17-backend-architecture-design.md
Created February 17, 2026 08:22
Asset Passport — Backend Architecture Design (Next.js + Prisma + PostgreSQL + Socket.io + Custom JWT)

Asset Passport — Backend Architecture Design

Date: February 17, 2026 Status: Approved Stack: Next.js 16 API Routes + Prisma + PostgreSQL + Socket.io + Custom JWT


1. Context & Goals

@Aboudjem
Aboudjem / Entrypoint.md
Last active January 27, 2024 13:56
Entrypoint Data

to: 0x4e59b44847b379578588920ca78fbf26c0b4956c,

value: 0,

data: `0x000000000000000000000000000000000000000000000000000000000000000060a080604052346200008957600160025561022c8181016001600160401b038111838210176200007357829162005d18833903906000f080156200006757608052604051615c8990816200008f82396080518181816113df01528181613e9501526141b60152f35b6040513d6000823e3d90fd5b634e487b7160e01b600052604160045260246000fd5b600080fdfe60806040526004361015610023575b361561001957600080fd5b610021615531565b005b60003560e01c80630396cb60146101b35780630bd28e3b146101aa5780631b2e01b8146101a15780631d732756146101985780631fad948c1461018f578063205c28781461018657806335567e1a1461017d5780634b1d7cf5146101745780635287ce121461016b57806370a08231146101625780638f41ec5a14610159578063957122ab146101505780639b249f6914610147578063a61935311461013e578063b760faf914610135578063bb9fe6bf1461012c578063c23a5cea14610123578063d6383f941461011a578063ee219423146101115763fc7e286d0361000e5761010c611bcd565b61000e565b5061010c6119b5565b5061010c61184d565b5061010c6116b4565b5

@Aboudjem
Aboudjem / Create.sol
Last active October 5, 2025 15:48
Create, Create2, Create3
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
contract Template {
uint256 variable1;
}
contract Create {
@Aboudjem
Aboudjem / extract-address-from-tx.js
Created March 22, 2023 15:31
Function to extract the public key and address associated to a transaction
const { ethers } = require("ethers");
// Function to extract the address associated with to a transaction
async function getPublicKeyFromTransactionHash(provider, txHash) {
// Fetch the transaction using the transaction hash and provier
const tx = await provider.getTransaction(txHash);
// Extract the all the relevant fields from the transaction (We need all of them)
const unsignedTx = {
gasLimit: tx.gasLimit,
// SPDX-License-Identifier: GPL-2.0-or-later
// File @uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol@v1.0.0
pragma solidity >=0.5.0;
/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {
@Aboudjem
Aboudjem / TestERC1155.sol
Created March 16, 2022 22:06
Test ERC1155
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol";
contract TestERC1155 is ERC1155 {
constructor() ERC1155 ("test") {