Compiling srml-session v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling srml-contracts v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling substrate-network v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling srml-staking v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling substrate-rpc v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling substrate-offchain v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling substrate-rpc-servers v2.0.0 (https://github.com/paritytech/substrate?rev=6d47fd919b4d86e4348c6c19d99c80372587d215#6d47fd91)
Compiling rocksdb v0.11.0
Compiling kvdb-rocksdb v0.1.4 (https://github.com/paritytech/p
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json, os, sys | |
def plancks_to_dots(plancks): | |
return float(int(plancks) / 10_000_000_000) | |
def calculate_ideal_staking_rate(num_parachains): | |
p = min(num_parachains, 60) / 200 | |
ideal_stake = 0.75 - p | |
return ideal_stake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( 15812758-3 ): HCqEGb6dpAMzTW3vydDd4uDrXLJt71JVa6nxVF3UGQJqi6o voted for @GLDNCALF | |
( 15811729-3 ): EwDj67YLKbSfU5EJNBDMLCkxHS7MHTbSR4W74dNTtevkfxQ voted for @DONNIEBIGBAGS | |
( 15811723-2 ): CgHSc5anQFPLCB8Nyx6ztNS3KG9mRUFKSf6pMJj4MfgkX59 voted for @DONNIEBIGBAGS | |
CgHSc5anQFPLCB8Nyx6ztNS3KG9mRUFKSf6pMJj4MfgkX59 voted already! | |
( 15811098-16 ): HyfVX5ELsna1tskwrNBmY4ipu8oHPyLf7emnquCTzuBYaJA voted for @TINKERGABE | |
( 15809447-4 ): Hh7usWNJjZN2aFvqPCePdHfhQ1QPMsKxP1tvVB4k8brcg1k voted for @TINKERGABE | |
Hh7usWNJjZN2aFvqPCePdHfhQ1QPMsKxP1tvVB4k8brcg1k voted already! | |
( 15809278-5 ): GciWnkNiUGBXegP8oiTwPNhjaFqrvihCpH5XPFZpTn7K7hJ voted for @TINKERGABE | |
( 15809268-5 ): HWh4ggBziij5uKxct6pdQNpdsXGMpCdkEZ7rAoff5Ft92HY voted for @TINKERGABE | |
( 15809267-3 ): HjKGLhQ5kGjBLHhYxBuMJufjmVF4GFLt9C57KJS1i9FFS7T voted for @TINKERGABE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Try out Statemine with Billcoins. These are a just-for-fun asset stored on Statemine - | |
an asset-specific parachain. | |
See https://wiki.polkadot.network/docs/learn-assets and https://wiki.polkadot.network/docs/learn-common-goods#statemint | |
If you haven't already, make a Kusama account - | |
https://wiki.polkadot.network/docs/learn-account-generation | |
Note your address should start with a CAPITAL LETTER. | |
If it starts with a 1 or a 5, you are seeing a Polkadot or Substrate address, respectively. | |
Change the settings to show Kusama format. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you want some Billcoins? I'll send you some on Statemine, Kusama assets parachain. | |
All you have to do is post your Kusama address. Don't even worry teleporting about the | |
existential deposit if you don't have a Statemine account. | |
You can also say thanks, which would be nice, but as long as you post an address, | |
I'll send some. | |
Note that Billcoins are just for fun and to let people try out Statemine. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You should try out Statemine, Kusama's asset-specific parachain. I will send you some Billcoins if you do! | |
There are 1_000_000 Billcoins, and they are just for fun. | |
If you haven't already, make a Kusama account - | |
https://wiki.polkadot.network/docs/learn-account-generation | |
Note your address should start with a CAPITAL LETTER. | |
If it starts with a 1 or a 5, you are seeing a Polkadot or Substrate address, respectively. | |
Change the settings to show Kusama format. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For Polkadot Zürich Meetup 7 Oct 2021 participants | |
Make a Kusama account - https://wiki.polkadot.network/docs/learn-account-generation | |
Note your address should start with a CAPITAL LETTER. If it starts with a 1 or a 5, you are seeing a Polkadot or Substrate address, respectively. Change the settings to show Kusama format. | |
Enter your address as a comment below. | |
I will send you some Billcoins on Statemine, a Kusama assets parachain! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git commands | |
# Go to master | |
git checkout master | |
# Pull from origin | |
git pull |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1 (5CZxuQiJ...) [total backing = 62731,796DOT (62,731,796,888,820,656) (17 voters)] [own backing = 50000,000DOT (50,000,000,000,000,000)] | |
#2 (5Gs2Zn2j...) [total backing = 12049,114DOT (12,049,114,786,232,370) (11 voters)] [own backing = 4120,000DOT (4,120,000,000,000,000)] | |
#3 (5GuWdasU...) [total backing = 8257,614DOT (8,257,614,409,253,478) (13 voters)] [own backing = 5,000DOT (5,000,000,000,000)] | |
#4 (5GNv7DQB...) [total backing = 2771,930DOT (2,771,930,102,648,776) (13 voters)] [own backing = 0,049DOT (49,458,760,000)] | |
#5 (5E4Ma6wg...) [total backing = 20560,146DOT (20,560,146,782,860,000) (2 voters)] [own backing = 20490,000DOT (20,490,000,000,000,000)] | |
#6 (5GHJa9Jf...) [total backing = 18350,010DOT (18,350,010,000,000,000) (2 voters)] [own backing = 0,010DOT (10,000,000,000)] | |
#7 (5HH2pwob...) [total backing = 8354,552DOT (8,354,552,620,463,480) (17 voters)] [own backing = 5,000DOT (5,000,000,000,000)] | |
#8 (5H19kgdL...) [total backing = 7185,093DOT (7,185,093,053,430,000) (9 voters)] [own backing = 0,010D |
https://polkadot.js.org/apps/#/
Go to Settings -> Custom Endpoint
In "remote node/endpoint to connect to", type ws://127.0.0.1:9944/
(note: will change!)
NewerOlder