Skip to content

Instantly share code, notes, and snippets.

View bitnician's full-sized avatar
👾

Behzad bitnician

👾
View GitHub Profile
@bitnician
bitnician / .env.galleon-mainnet
Last active February 13, 2026 11:20
Igra Attestor - Deploy
# Igra Attestor - Galleon Mainnet
#
# Prerequisites:
# - igra-orchestra must be running with the backend profile
# - The attestor connects to your local execution-layer via Docker networking
#
# Setup:
# 1. Copy this file to .env: cp .env.galleon-mainnet .env
# 2. Put your attester private key in secrets/private_key.txt
# 3. Run: docker compose up -d
@bitnician
bitnician / trustProvidersKeys.ts
Last active April 4, 2023 05:26
Adding keys to `trustProvidersKeys` contract
// Smart contract: https://mumbai.polygonscan.com/address/0x0F416A4e020Dea9F969Bb2E7ef4A97E47CBd2F0C
import {ethers} from 'ethers'; // version: ^6.2.3
const trustProvidersKeysAbi = [
{
inputs: [
{
internalType: 'address',
name: 'account',
type: 'address',
@bitnician
bitnician / Delance-2.sol
Created July 3, 2020 11:05
Solidity tutorial on medium
// SPDX-License-Identifier: MIT
pragma solidity 0.6.9;
pragma experimental ABIEncoderV2;
contract Delance {
struct Request {
string title;
uint256 amount;
bool locked;
bool paid;