Skip to content

Instantly share code, notes, and snippets.

View Jeongseup's full-sized avatar
🏃‍♂️
Running

Jeongseup Jeongseup

🏃‍♂️
Running
View GitHub Profile
@Jeongseup
Jeongseup / .golangci.yml
Created April 29, 2025 07:05 — forked from maratori/.golangci.yml
Golden config for golangci-lint
# This file is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021-2025 Marat Reymers
## Golden config for golangci-lint v2.1.5
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt it to suit your needs.
# If this config helps you, please consider keeping a link to this file (see the next comment).
@Jeongseup
Jeongseup / memo.md
Last active February 20, 2025 07:31
Hyperliquid Testnet Validator Infos

Hyperliquid Testnet Validator Infos

Intro

Hello, I'm Jeongseup from Cosmostation.

This document is for sharing some information to prepare hyperliquid network joining as one of validators like us.

As you know, there is an offical docs link: https://github.com/hyperliquid-dex/node , But I wanted to share some personal experiences and insights to newbies like us :)

@Jeongseup
Jeongseup / gameSummary.json
Created May 30, 2024 15:47
GameSummaryDataSample
{
"metadata": {
"name": "Arcade Champion",
"imageUrl": "https://strapi-dev.scand.app/uploads/Arcade_Champion_Logo_2a24858b47.jpeg",
"explorerUrl": "https://suiscan.xyz/mainnet/object/0xf09c99aa87a706c4f010c8c6b86d0249ccf670a138dcbcc7af9f4da8573019fe",
"homePage": "https://www.bluejaygames.com",
"discord": "https://discord.com/invite/f9wUxgWSZJ",
"twitter": "https://x.com/BlueJayGamesInc"
},
"users": [
@Jeongseup
Jeongseup / sui-cli-helper
Created May 24, 2024 10:00
Sui CLI Helper
# simple test
sui move test
# The previous command runs all tests whose name contains sword.
sui move test sword
sui move test -h
# list envs
@Jeongseup
Jeongseup / Golang Anypb Testing Code
Last active March 5, 2024 05:56
Golang Anypb Testing Code
# Reademe
set your private key and validator address as a env. (If you don't know where your private key is, it is in a file called validator.key. or it should also be included in the mail you received during onboarding. )
PRIVATE_KEY="PUT YOUR PRIVATE KEY HERE"
VAL_ADDRESS="PUT YOUR VALIDATOR ADDRESS HERE"
All steps are necessary.
- Step 1
@Jeongseup
Jeongseup / memo.md
Created December 2, 2023 08:12
How to understand Chainlink CCIP

https://github.com/smartcontractkit/ccip/blob/ccip-develop/contracts/src/v0.8/ccip/offRamp/EVM2EVMOffRamp.sol#L248C15-L248C15

체인링크 노드로부터 어떤 사이너가 offlamp란 컨트랙트 콜을 함.

offlamp 에 콜이 들어오면 전달 받은 데이터를 해석해서 2가지 일을 함.

  1. execute -> 실제 온체인 데이터 업데이트 (누구에게 토큰을 실제로 보내는 역할)
  2. trailExecute & sendMessage -> 업데이트한 내용 or 전달받은 데이터를 receive하는 개발자들이 사용할 컨트랙트쪽으로 쏴주는 역할
@Jeongseup
Jeongseup / deubg_test.go
Created November 2, 2023 15:06
Cosmos SDK Study - How to parse each validators pubkey to their address
// 1. git clone https://github.com/cosmos/cosmos-sdk.git
// 2. add a new debug_test.go file
// 3. copy this code in your test file
// run test code
// reference: https://github.com/cosmos/cosmos-sdk/blob/main/client/debug/main.go
package debug
import (
@Jeongseup
Jeongseup / prometheus-async-custom-exporter.go
Created August 8, 2023 05:11
prometheus async custom exporter
package main
import (
"fmt"
"log"
"net/http"
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"