Skip to content

Instantly share code, notes, and snippets.

View developeruche's full-sized avatar
🤓
Building

Developer Uche developeruche

🤓
Building
View GitHub Profile
@developeruche
developeruche / anon-aadhaar-v2-trusted-setup-ceremony_attestation.log
Created June 16, 2024 22:17
Attestation for Anon Aadhaar V2 Trusted Setup Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm developeruche-69772615 and I have contributed to the Anon Aadhaar V2 Trusted Setup Ceremony.
The following are my contribution signatures:
Circuit # 1 (aadhaarverifier)
Contributor # 93
Contribution Hash: 1b922812 23059491 835817ed a6f9fe3a
53aad8bd a2dcc45b 1971e11a aa8122a7
7afc19ef c5521ee6 e1f3712e 3c4ddef8
c4916088 594452ce 135051d2 cee67853
@developeruche
developeruche / semaphore-v4-ceremony_attestation.log
Created June 16, 2024 21:40
Attestation for Semaphore V4 Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm developeruche-69772615 and I have contributed to the Semaphore V4 Ceremony.
The following are my contribution signatures:
Circuit # 1 (semaphorev4-1)
Contributor # 142
Contribution Hash: 7575c4f3 5f715385 507e4a34 c8e264f1
3cc2f54d a7fc5a9a e7343081 4e100616
9003a885 3370ee47 2d365c1d 96cc99fa
bd24aaf3 28937cc0 0cb579b4 4af4edeb

Curriculum

Week 1: Introduction to Python and Programming Fundamentals

  • Topics:
    • Introduction to Python: History, advantages for machine learning
    • Setting Up Your Environment: Python installation, IDE selection (e.g., PyCharm, Visual Studio Code)
    • Basic Programming Concepts: Variables, data types (int, float, str, bool), operators (arithmetic, logical, comparison), input/output (print(), input())
    • Control Flow: Conditional statements (if-else, elif), loops (for, while), break and continue statements
  • Assessment:
@developeruche
developeruche / subscribtion.log.txt
Created April 22, 2024 11:31
Log from Alloy event subscription
af89517ade } }, block_hash: Some(0x2e3d3b9c7e7cb4be6a47e87fbbe8783303df4f034f185fce3d37d5656769c0ef), block_number: Some(19710643), block_timestamp: None, transaction_hash: Some(0x9b0d193b2f4540b1d5bf72e207d63304fc1a548dd6922474c3d48d364db5317a), transaction_index: Some(0), log_index: Some(8), removed: false }
Uniswap token logs: Log { inner: Log { address: 0x9e22b4f836a461ddc7765e5fad693688e76e6069, data: LogData { topics: [0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000cf5109bfe92d627e4eb43d6405b2de6793c90f3e, 0x0000000000000000000000000b98dd25600bb9a521b1d54c03cf303028c0503d], data: 0x00000000000000000000000000000000000000000000000074781f6f07fcff40 } }, block_hash: Some(0x2e3d3b9c7e7cb4be6a47e87fbbe8783303df4f034f185fce3d37d5656769c0ef), block_number: Some(19710643), block_timestamp: None, transaction_hash: Some(0x9b0d193b2f4540b1d5bf72e207d63304fc1a548dd6922474c3d48d364db5317a), transaction_index: Some(0), log_index: Some(9), removed: false }
Uniswap token lo
@developeruche
developeruche / INahmiiStandardERC721.sol
Created July 12, 2023 19:12
This is the bridge contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {
IERC721Enumerable
} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
enum Existence {
Transient,
Permanent
import {ethers} from "hardhat";
import ethSigUtil from 'eth-sig-util';
import axios from 'axios';
const EIP712Domain = [
{ name: 'name', type: 'string' },
{ name: 'version', type: 'string' },
{ name: 'chainId', type: 'uint256' },
0x42d2c5a3b4dc09930b8a5fd0741736424b213a78
@developeruche
developeruche / e2e.test.rs
Last active March 18, 2023 14:55
This is a code snippet for the e2e testing functionality in t he ink framework
/// This is how you'd write end-to-end (E2E) or integration tests for ink! contracts.
///
/// When running these you need to make sure that you:
/// - Compile the tests with the `e2e-tests` feature flag enabled (`--features e2e-tests`)
/// - Are running a Substrate node which contains `pallet-contracts` in the background
#[cfg(all(test, feature = "e2e-tests"))]
mod e2e_tests {
/// Imports all the definitions from the outer scope so we can use them here.
use super::*;
contract Campaign {
struct Request {
string description;
uint256 value;
address recipient;
bool complete;
uint256 approvalCount;
mapping(address => bool) approvals;
}