Skip to content

Instantly share code, notes, and snippets.

@ianhe8x
ianhe8x / genesis.json
Created June 3, 2025 01:56
genesis.json (Edgen Mainnet)
{
"app_name": "evmd",
"app_version": "0.2.0-21-gc371777",
"genesis_time": "2025-05-30T06:01:16.552575237Z",
"chain_id": "4207",
"initial_height": 1,
"app_hash": null,
"app_state": {
"07-tendermint": null,
"auth": {
@ianhe8x
ianhe8x / statechannel.md
Last active April 13, 2022 07:13
StateChannel challenge

State Channel Sample Project

Background:

• Use any existing demo project from Celer or Connext or create your own • Run locally, start both state channel participants

Demo how it works and answer the following questions

  • What data are submitted on chain?
  • What data are stored locally? Explain the struct of this data.
  • How does dispute work? Explain the dispute resolvement flow in sense of cryptography.
@ianhe8x
ianhe8x / LuckMoney.sol
Created July 16, 2021 01:52
LuckMoney Eth challenge
pragma solidity >=0.7.0 <0.9.0;
/**
* 1. Finish LuckyMoneyCreator and LuckyMoney contract
* 2. Design necessary events and use them
* 3. Add necessary modifier(s) to predefined functions
*
*/