Skip to content

Instantly share code, notes, and snippets.

@kaichen
kaichen / trc10.transfer.json
Created October 18, 2022 13:41
tron tx response
{
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"e788847a9b215d40b3abff32fd33724f2089e948273c6597f0431446dc0863437c18163cf8b0a3ab0827eb57a0bbae9fce7daa0ad9dd3c8f0406d55f132b851000"
],
"txID": "78758c5303a49b7b9d010853b8774c55a554b57a26060190e3e338cb70043081",
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
{
"app_state": {
"accounts": [
{
"account_number": "679",
"address": "cosmos1qqp837a4kvtgplm6uqhdge0zzu6efqgujllfst",
"coins": [
{
"amount": "60091022",
"denom": "uatom"
@kaichen
kaichen / get_actions.json
Created December 26, 2018 07:51
eos history api
{
"actions": [
{
"_id": "5c232c16b5035bc1a6dc7585",
"receipt": {
"receiver": "luckymearena",
"act_digest": "f7b0b39cac563a1ab054a192ef017a7d45e34e07a12b49e0ed29bd117f3448ba",
"global_sequence": 3310712726,
"recv_sequence": 2827,
"auth_sequence": [
@kaichen
kaichen / luxe-ens-management.md
Last active November 6, 2018 06:25
how to integrate with luxe IANA

luxe ens managment

data structure:

mapping(uint=>mapping(address=>bool)) public registrars; // Maps IANA IDs to authorised accounts
mapping(bytes32=>uint) public nonces; // Maps namehashes to domain nonces

keep track mapping of user id and ethereum address, and domain nonce

@kaichen
kaichen / eth-2.md
Created October 12, 2018 09:42
Curated List about Eth 2.0

Keybase proof

I hereby claim:

  • I am kaichen on github.
  • I am kaichen (https://keybase.io/kaichen) on keybase.
  • I have a public key ASBjEVXtZDGDQCOWtGTKW_2c8wx41gXbDsXB1ghErZOYGQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kaichen on github.
  • I am kaichen (https://keybase.io/kaichen) on keybase.
  • I have a public key ASBjEVXtZDGDQCOWtGTKW_2c8wx41gXbDsXB1ghErZOYGQo

To claim this, I am signing this object: