Skip to content

Instantly share code, notes, and snippets.

View FidelVe's full-sized avatar
🏠
Working from home

Fidel Sanchez-Bueno FidelVe

🏠
Working from home
View GitHub Profile
npm run start-mainnet
> validator-pubkey@1.0.0 start-mainnet
> NODE_ENV=mainnet node index.js
Preps with registered PubKey count: 132
Preps without registered PubKey count: 24
>--------------------------------
> Preps with registered PubKey:
Prep: ICON Foundation.
@FidelVe
FidelVe / response.txt
Last active October 4, 2023 18:48
before running validator-pubkey script
>--------------------------------
> Preps with registered PubKey:
Prep: ICON Foundation.
Prep address: hx0b047c751658f7ce1b2595da34d57a0e7dad357d.
PubKey: 0x02fa6bff597a4e94be45071e7e2b4bdef183de9f9bf86c863906932ab81ecfd17a.
Recovered PubKey: 036e9d082972e0e79d614ef5c80e5475583a4968c1b2874b21c23264dde901a775.
###
Prep: Lydia Labs.
Prep address: hxfba37e91ccc13ec1dab115811f73e429cde44d48.
PubKey: 0x0269ce6e78a6a9b6067f177bcceadefd18b0033dcbc426dff7748aecaa5a6805e0.
@FidelVe
FidelVe / sitemap.md
Last active September 23, 2023 16:56
icon docs sitemap in markdown format
  • /
    • build-with-xcall
      • guides
        • receiving-a-message
        • sending-a-message
        • troubleshooting
      • quickstart
        • sending-a-message-with-rollback
        • sending-a-message-with-xcall
  • setting-up-a-local-environment
@FidelVe
FidelVe / sitemap.json
Created September 23, 2023 15:23
icon docs sitemap as json
{
"urlset": {
"url": [
{
"loc": "https://docs.icon.community/",
"priority": 1,
"lastmod": "2023-07-05"
},
{
"loc": "https://docs.icon.community/v/icon1/",
@FidelVe
FidelVe / after.txt
Created September 21, 2023 18:22
after registering public keys for main validators
npm run start-mainnet
> validator-pubkey@1.0.0 start-mainnet
> NODE_ENV=mainnet node index.js
>--------------------------------
> Preps with registered PubKey:
Prep: ICON Foundation.
Prep address: hx0b047c751658f7ce1b2595da34d57a0e7dad357d.
@FidelVe
FidelVe / before.txt
Created September 21, 2023 18:22
before registration of all main validators
npm run start-mainnet
> validator-pubkey@1.0.0 start-mainnet
> NODE_ENV=mainnet node index.js
>--------------------------------
> Preps with registered PubKey:
Prep: ICON Foundation.
Prep address: hx0b047c751658f7ce1b2595da34d57a0e7dad357d.
@FidelVe
FidelVe / Header.js
Created August 3, 2023 03:48
Class component
import React, { Component } from 'react'
import { requestAddress } from '../../utils/connect'
import { CopyButton } from '../../components'
import checkIconex from 'check-iconex'
import NotificationManager from '../../utils/NotificationManager'
class Connect extends Component {
constructor(props) {
super(props)
this.state = {
@FidelVe
FidelVe / relay.sh
Created June 1, 2023 13:47
xcall relayer
[Unit]
Description=Relay for e2edemo at ~/custom-networks/btp2/e2edemo
[Service]
WorkingDirectory=/home/admin-1/custom-networks/btp2/e2edemo
ExecStart=/bin/bash /home/admin-1/custom-networks/btp2/e2edemo/relay.sh
[Install]
WantedBy=multi-user.target
const IconBridgeSDK = require("@espanicon/icon-bridge-sdk-js");
const iconAddr = "hxf13e8fa67714132692162cb5e560ac54319c7933",
iconPk = "",
bscAddr = "0x6cfc659109E7443306408f48bD6a7Dc9408D55A0",
bscPk = "";
async function runAsync() {
const sdk = new IconBridgeSDK({
useMainnet: false
});

Network proposals

What is a network proposal?

A network proposal is a mechanism for governance where Delegates can submit ideas for changes that they would like to see implemented in the ICON Network. These ideas are recorded and voted upon on-chain, which means that the proposal document and the voting results can be seen publicly by all.

Common proposal types

There are four different types of Network Proposals that greatly affect the system; Malicious Smart Contract Proposal, Delegate Disqualification Proposal, STEP Price Proposal and Text Proposal, defined as follows: