Skip to content

Instantly share code, notes, and snippets.

View retzion's full-sized avatar

Reuven Etzion retzion

View GitHub Profile
@retzion
retzion / WORKFLOW_QUICK_REFERENCE.md
Created December 29, 2025 02:02
Claude Code Development Workflow Quick Reference

Claude Code Workflow - Quick Reference

A concise guide to the development workflow. For detailed documentation, see CLAUDE-CODE-WORKFLOW.md.


Workflow Diagram

┌─────────────────────────────────────────────────────────────────────────────┐
@retzion
retzion / CLAUDE-CODE-WORKFLOW.md
Last active November 30, 2025 20:19
Claude Code Development Workflow Guide

Claude Code Development Workflow Guide

Version: 1.2 Last Updated: 2025-11-30 Purpose: Universal development workflow for any project using Claude Code


Table of Contents

@retzion
retzion / .deps...npm...@openzeppelin...contracts...access...AccessControl.sol
Created July 23, 2023 07:12
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
@retzion
retzion / .git...HEAD
Created July 21, 2023 22:38
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
ref: refs/heads/develop
@retzion
retzion / .git...HEAD
Created July 21, 2023 17:47
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
ref: refs/heads/develop
@retzion
retzion / .git...HEAD
Created July 20, 2023 19:31
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
ref: refs/heads/develop
@retzion
retzion / .git...HEAD
Created July 20, 2023 17:24
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
ref: refs/heads/develop
@retzion
retzion / README.md
Created July 10, 2023 08:14
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=

Try It Out!

Using the contract involves using the EcoHelpers contract to prepare some data off-chain in order to use the EcoSecrets contract to store the secret and reveal it as described in the exercise.

First we want one of our participants to be our pre-signing party and to deploy the EcoHelpers contract in Remix to prepare our data for the main contract. Now follow these steps...

  1. We start with a random, disposable Keccak256 symmetric KEY: f8f8a2f43c8376ccb0871305060d7b27b0554d2cc72bccf41b2705608452f315

  2. We use the EcoHelpers contract function stringToBytes function to turn our keccak256 KEY to bytes data: 0x66386638613266343363383337366363623038373133303530363064376232376230353534643263633732626363663431623237303536303834353266333135

@retzion
retzion / README.md
Created July 7, 2023 15:55
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=

Try It Out!

Using the contract involves using the EcoHelpers contract to prepare some data off-chain in order to use the EcoSecrets contract to store the secret and reveal it as described in the exercise.

First we want one of our participants to be our pre-signing party and to deploy the EcoHelpers contract in Remix to prepare our data for the main contract. Now follow these steps...

  1. We start with a random, disposable Keccak256 symmetric KEY: f8f8a2f43c8376ccb0871305060d7b27b0554d2cc72bccf41b2705608452f315

  2. We use the EcoHelpers contract function stringToBytes function to turn our keccak256 KEY to bytes data: 0x66386638613266343363383337366363623038373133303530363064376232376230353534643263633732626363663431623237303536303834353266333135

@retzion
retzion / README.md
Created July 7, 2023 15:48
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=

Try It Out!

Using the contract involves using the EcoHelpers contract to prepare some data off-chain in order to use the EcoSecrets contract to store the secret and reveal it as described in the exercise.

First we want one of our participants to be our pre-signing party and to deploy the EcoHelpers contract in Remix to prepare our data for the main contract. Now follow these steps...

  1. We start with a random, disposable Keccak256 symmetric KEY: f8f8a2f43c8376ccb0871305060d7b27b0554d2cc72bccf41b2705608452f315

  2. We use the EcoHelpers contract function stringToBytes function to turn our keccak256 KEY to bytes data: 0x66386638613266343363383337366363623038373133303530363064376232376230353534643263633732626363663431623237303536303834353266333135