This file contains 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
# live stake | |
import json | |
with open('ls220.json') as json_file: | |
ledger = json.load(json_file) | |
pooldelegators={} | |
utxovalues={} | |
total_utxo=0 | |
poolowners={} | |
delegatorrewards={} |
This file contains 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
THESE ARE ALL THE DELEGATORS FOR HRMS POOL | |
[{'key hash': '03c4fe6dce1f247f9064af7741a8adc5414177b093b276ae85554d69'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '05ebd299f821f04ab102ee53cfbb30529e006692cc82f57ed6f71d84'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '083d37aaef0f6dee8a34bf258a11172b10a2392f7e9fdf52eb9f9cfc'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '0e532c0c2fde4a292e1ac84d62d5384071b2383229019ec71c7a4bc6'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '17cd83b50ca8e2c5c42216ee49b22c08e01e9b720ca3d56cda864f9b'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '1825aee463cab11d09d93d57a205cee229f32f8f82da9f93fa4ecb9d'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '2536dea9b643a97f4989f5ab1e6e9ae91a4b90fb67bf9376dfe2de91'}, 'd248ded3c18e0e80d07a46f00a2d808075b989ccb1a0e40a76e5cee1'] | |
[{'key hash': '2ea02db832e913b0990a |
This file contains 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
{ | |
"data": { | |
"pools": [ | |
{ | |
"poolPubKey": "b76499eb4fa73e210133dd44cb8816ab707e3ed189640f0b22077adf", | |
"vkey": null, | |
"stakePercent": 0, | |
"pool_name": "" | |
}, | |
{ |
This file contains 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
{ | |
"activeSlotsCoeff": 0.05, | |
"protocolParams": { | |
"poolDecayRate": 0, | |
"poolDeposit": 500000000, | |
"protocolVersion": { | |
"minor": 0, | |
"major": 0 | |
}, | |
"decentralisationParam": 0.5, |
This file contains 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
ubuntu@ip-172-31-24-115:~/nightly/Alternate-Jormungandr-Testnet/scripts/jormu-helper-scripts$ ./delegate-owner.sh ed25519e_sk1drg... 1 | |
81f99b950f9b5b430047694c64e51f42f8b1fc68775a0e866136a40a3e7b1eb | |
================DELEGATE ACCOUNT================= | |
REST_URL: http://localhost:5001/api | |
ACCOUNT_SK: ed25519e_sk1drg... | |
BLOCK0_HASH: 9409af111b04896c756c1cee3b7f9bae8b9ed1843c9e0a5f07d92ab9b62f6f78 | |
FEE_CONSTANT: 200000 | |
FEE_COEFFICIENT: 100000 | |
FEE_CERTIFICATE: | |
================================================== |
This file contains 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
#!/bin/sh | |
# Disclaimer: | |
# | |
# The following use of shell script is for demonstration and understanding | |
# only, it should *NOT* be used at scale or for any sort of serious | |
# deployment, and is solely used for learning how the node and blockchain | |
# works, and how to interact with everything. | |
# | |
# Tutorials can be found here: https://github.com/input-output-hk/shelley-testnet/wiki |
This file contains 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
jcli rest v0 block 58b21fdb61a8a5f5d907b9f3a73a776f29bba5ed71339b640850a2c6246e3227 get -h http://127.0.0.1:5001/api | |
02b600020000000000000011000000b6000006ff0e5751c026e543b2e8ab2eb06099daa1d1e5df47778f7787faab45cdf12fe3a8ea950b4fa1260b802c7c2b73ad5c5c006eea91284e6bd0ecd3a4a12c150e0ad68096de4199d05220ea8f442b18a1517c5da37c67d75435911b25d7a9bcbd53eb76b9566f1a2b00eaeaf26fd60c698e5174c6cdba081792c44464c09351c44953bdc432623829d3d16e73d3449c4d422af137aaaa4c2e20474a9563ccce27660d06394692f95598fff0b22c2e49e43b50774cb42048e36a72eac0b41bed5550070000000075d34aea9ff772652dff6a82e4fc2875fa7312aa0430757ad70c4c02305c7b272f96738cfd797c976235f3e90807399ebf5547526854020efb307a9868a91903729b7349e9a0c8d752e00cff5ac1ac37e159af4f175ad8c64abdbd0514d7c82ba90da22dd7f7f75b8089d01336c54d0098a64ecebbf9bf5d31103feb7edddab4d48110e5ea13b85c3a1f04a9667c8c2b8a3dbf2cef61523f25400b59a0a9e42409fca4237c11de43de9b6aee324625134637fffcc7daf117fad6e80b717fcb23e6828b21c920e62bdb04b9368d7e351781ad051e6126b13a4c56f5c6f7879e31d1f65d07be626f013a3102b3f2 |
This file contains 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
{ | |
"data": { | |
"allBlocks": { | |
"pageInfo": { | |
"hasNextPage": false, | |
"endCursor": "1885" | |
}, | |
"edges": [ | |
{ | |
"node": { |
This file contains 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
blockchain_configuration: | |
block0_date: 1573591234 | |
discrimination: test | |
block0_consensus: genesis_praos | |
consensus_leader_ids: | |
- ed25519_pk1w0h2q6p9at8kzyvgkdln9lcxl8wmrnwur5prxvy6s05mexrwar2s7quv7v | |
linear_fees: | |
constant: 10 | |
coefficient: 5 | |
certificate: 100 |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am papacarp on github. | |
* I am papacarp (https://keybase.io/papacarp) on keybase. | |
* I have a public key ASACVp1wjnHhqhfduEPthOud4yX4cBzcCaMSsW7r7r86Ngo | |
To claim this, I am signing this object: |
NewerOlder