Skip to content

Instantly share code, notes, and snippets.

Mine77 Mine77

Block or report user

Report or block Mine77

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Mine77 /
Last active Jun 29, 2019
Lottery Program for Nervos CKB Mining Competition (6/15 - 6/28)
from hashlib import sha256
# the seed here is only an example.
# The seed for the lottery (of Nervos CKB Minning Competition between 6/15 and 6/28) will be the block hash of the block of height N.
# Here is the sha256 hash of the sentence that contains the information of N:0x24f7501665d4f59b7f65c0853f8dd2a68fe528d345ffe63721f391eec711c190
# Update: The message is "N = 77". According to the competition result, the block hash of height 77 is 0x73ba270324ee87ed8990acbc316380c584dea21a1b8b87f4e8c363595e08225f
seed = "0x73ba270324ee87ed8990acbc316380c584dea21a1b8b87f4e8c363595e08225f"
# This is the number of the participants in total.
# The number here should be replaced with the actual number after the competition conclude.
Mine77 / CKB.paw.json
Last active May 20, 2019
All CKB RPC API in a paw file for Rest API softwares such as Insomnia.
View CKB.paw.json
"info": {
"name": "CKB.paw",
"schema": "",
"version": "v0.0.0"
"item": [
"name": "Chain",
"item": [
View ckb-ruby-example.rb
# This contract needs 3 required arguments:
# 0. pubkey hash, double blake2b hash of pubkey, used to shield the real
# pubkey in lock script.
# 1. pubkey, real pubkey used to identify token owner
# 2. signature, signature used to present ownership
if ARGV.length != 3
raise "Wrong number of arguments!"
def hex_to_bin(s)
View 需求.md


我们希望能够根据合约地址,查询某一个合约在某一个块高度上的 State Storage 的大小。


  1. 分析以太坊上占用状态最大的合约
  2. 分析以太坊上占用状态增长最快的合约



Mine77 / Shadowsocks PAC User Rules
Created Jul 16, 2018
Try this PAC list if you can't enjoy Slack or Jira.
View Shadowsocks PAC User Rules
! Put user rules line by line in this file.
! See
Mine77 / common-setting.js
Last active Jun 26, 2018
The index.html file for making a Nervos Network related document.
View common-setting.js
var common = {
loadSidebar: true,
autoHeader: true,
subMaxLevel: 6,
loadNavbar: true,
basePath: './',
// search: 'auto', // 默认值
You can’t perform that action at this time.