├── node-spo1 ├── port ├── byron-delegate.key ├── vrf.skey ├── topology.json ├── opcert.cert ├── byron-delegation.cert └── kes.skey ├── node-spo2 ├── port ├── byron-delegate.key ├── vrf.skey ├── topology.json ├── opcert.cert ├── byron-delegation.cert └── kes.skey ├── node-spo3 ├── port ├── byron-delegate.key ├── vrf.skey ├── topology.json ├── opcert.cert ├── byron-delegation.cert └── kes.skey ├── .dockerignore ├── .gitignore ├── utxo-keys ├── utxo1.addr ├── utxo2.addr ├── utxo3.addr ├── minting-policy.json ├── utxo1.skey ├── utxo2.skey ├── utxo3.skey ├── utxo1.vkey ├── utxo2.vkey └── utxo3.vkey ├── byron-gen-command ├── genesis-keys.000.key ├── genesis-keys.001.key └── genesis-keys.002.key ├── docker-compose.yml ├── pools ├── vrf1.vkey ├── vrf2.vkey ├── vrf3.vkey ├── kes1.vkey ├── kes2.vkey ├── kes3.vkey ├── cold1.skey ├── cold2.skey ├── cold3.skey ├── staking-reward1.skey ├── staking-reward2.skey ├── staking-reward3.skey ├── cold1.vkey ├── cold2.vkey ├── cold3.vkey ├── staking-reward1.vkey ├── staking-reward2.vkey ├── staking-reward3.vkey ├── opcert1.counter ├── opcert2.counter └── opcert3.counter ├── genesis-keys ├── genesis1.skey ├── genesis2.skey ├── genesis3.skey ├── genesis1.vkey ├── genesis2.vkey └── genesis3.vkey ├── delegate-keys ├── delegate1.vrf.vkey ├── delegate2.vrf.vkey ├── delegate3.vrf.vkey ├── delegate1.kes.vkey ├── delegate2.kes.vkey ├── delegate3.kes.vkey ├── delegate1.skey ├── delegate2.skey ├── delegate3.skey ├── delegate1.vkey ├── delegate2.vkey ├── delegate3.vkey ├── delegate1.counter ├── delegate2.counter ├── delegate3.counter ├── delegate1.vrf.skey ├── delegate2.vrf.skey ├── delegate3.vrf.skey ├── opcert1.cert ├── opcert2.cert ├── opcert3.cert ├── delegate1.kes.skey ├── delegate2.kes.skey └── delegate3.kes.skey ├── stake-delegator-keys ├── staking1.skey ├── staking2.skey ├── staking3.skey ├── payment1.skey ├── payment2.skey ├── payment3.skey ├── staking1.vkey ├── staking2.vkey ├── staking3.vkey ├── payment1.vkey ├── payment2.vkey └── payment3.vkey ├── Dockerfile ├── run ├── node-spo1.sh ├── node-spo2.sh └── node-spo3.sh ├── scripts ├── download-config.sh ├── install.sh ├── reset.sh └── mint-tokens.sh ├── README.md ├── genesis ├── byron │ └── genesis.json └── shelley │ ├── genesis.json │ └── genesis.alonzo.json └── configuration.yaml /node-spo1/port: -------------------------------------------------------------------------------- 1 | 3001 2 | -------------------------------------------------------------------------------- /node-spo2/port: -------------------------------------------------------------------------------- 1 | 3002 2 | -------------------------------------------------------------------------------- /node-spo3/port: -------------------------------------------------------------------------------- 1 | 3003 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | bin 2 | node.sock 3 | db 4 | logs 5 | *.log 6 | sockets 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | node.sock 3 | db 4 | logs 5 | *.log 6 | sockets 7 | -------------------------------------------------------------------------------- /utxo-keys/utxo1.addr: -------------------------------------------------------------------------------- 1 | addr_test1vzljjr32wz5wutlgrp35kehmm7gau6897ed9ncnm933m5yqesaz62 -------------------------------------------------------------------------------- /utxo-keys/utxo2.addr: -------------------------------------------------------------------------------- 1 | addr_test1vrkh023whuccxxe7ms6g0pacecmnyr6944x5vlcyw75vxace39kve -------------------------------------------------------------------------------- /utxo-keys/utxo3.addr: -------------------------------------------------------------------------------- 1 | addr_test1vrkh023whuccxxe7ms6g0pacecmnyr6944x5vlcyw75vxace39kve -------------------------------------------------------------------------------- /node-spo1/byron-delegate.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minswap/private-testnet/HEAD/node-spo1/byron-delegate.key -------------------------------------------------------------------------------- /node-spo2/byron-delegate.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minswap/private-testnet/HEAD/node-spo2/byron-delegate.key -------------------------------------------------------------------------------- /node-spo3/byron-delegate.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minswap/private-testnet/HEAD/node-spo3/byron-delegate.key -------------------------------------------------------------------------------- /byron-gen-command/genesis-keys.000.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minswap/private-testnet/HEAD/byron-gen-command/genesis-keys.000.key -------------------------------------------------------------------------------- /byron-gen-command/genesis-keys.001.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minswap/private-testnet/HEAD/byron-gen-command/genesis-keys.001.key -------------------------------------------------------------------------------- /byron-gen-command/genesis-keys.002.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minswap/private-testnet/HEAD/byron-gen-command/genesis-keys.002.key -------------------------------------------------------------------------------- /utxo-keys/minting-policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "keyHash": "bf290e2a70a8ee2fe818634b66fbdf91de68e5f65a59e27b2c63ba10", 3 | "type": "sig" 4 | } 5 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3" 2 | services: 3 | private-testnet: 4 | build: 5 | context: . 6 | volumes: 7 | - ${PWD}/sockets:/root/sockets 8 | -------------------------------------------------------------------------------- /pools/vrf1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfVerificationKey_PraosVRF", 3 | "description": "VRF Verification Key", 4 | "cborHex": "5820631f07bb2489be554f233ff56e37728c13ca2b9ddba1f3ce6a7c1efb1abf18c1" 5 | } 6 | -------------------------------------------------------------------------------- /pools/vrf2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfVerificationKey_PraosVRF", 3 | "description": "VRF Verification Key", 4 | "cborHex": "5820a191b7b3c6572d8383dff8ab5e6469882e5eac2756bbefe24bb3052c95bd9280" 5 | } 6 | -------------------------------------------------------------------------------- /pools/vrf3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfVerificationKey_PraosVRF", 3 | "description": "VRF Verification Key", 4 | "cborHex": "58202487e58b4495b05b49c41bc1709185a892a1634d5fbd306433ca854bea9d0628" 5 | } 6 | -------------------------------------------------------------------------------- /pools/kes1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesVerificationKey_ed25519_kes_2^6", 3 | "description": "KES Verification Key", 4 | "cborHex": "5820e483a909c2b7c136d45fb5698e0f122d744cf8b1dca3d3316c62197b89268f7b" 5 | } 6 | -------------------------------------------------------------------------------- /pools/kes2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesVerificationKey_ed25519_kes_2^6", 3 | "description": "KES Verification Key", 4 | "cborHex": "5820b00472413581a6cc61c5402c3eda5036a33d3ca99b5bafeb5f5cdde45d399643" 5 | } 6 | -------------------------------------------------------------------------------- /pools/kes3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesVerificationKey_ed25519_kes_2^6", 3 | "description": "KES Verification Key", 4 | "cborHex": "582013c1d5828110418cf505d2ac48b0388cb4c0ccfd1e52bd63eebd4330ecb63125" 5 | } 6 | -------------------------------------------------------------------------------- /genesis-keys/genesis1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisSigningKey_ed25519", 3 | "description": "Genesis Signing Key", 4 | "cborHex": "582079b59e58246a16821b8908f94a3619919d56e65732c903b4b4ae7d2f0f95d035" 5 | } 6 | -------------------------------------------------------------------------------- /genesis-keys/genesis2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisSigningKey_ed25519", 3 | "description": "Genesis Signing Key", 4 | "cborHex": "58203bd693b61f066bfe6e3bb149fbf48a75c8cedcbd75bb9fad9a458cb67acc3a2b" 5 | } 6 | -------------------------------------------------------------------------------- /genesis-keys/genesis3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisSigningKey_ed25519", 3 | "description": "Genesis Signing Key", 4 | "cborHex": "58209ea263cef8b82f9caf117cde914b901d75d4317fffc779fd9e5c62b3a012fa90" 5 | } 6 | -------------------------------------------------------------------------------- /pools/cold1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakePoolSigningKey_ed25519", 3 | "description": "Stake Pool Operator Signing Key", 4 | "cborHex": "5820b9b42f6cc870bbd5d2e3249f73faf1cdfd19de543b4670dfb49231c8c114ff4d" 5 | } 6 | -------------------------------------------------------------------------------- /pools/cold2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakePoolSigningKey_ed25519", 3 | "description": "Stake Pool Operator Signing Key", 4 | "cborHex": "5820ccf4c134f151d753aecba7b9b3790561d0efa1f360afc3813a6f915eb9a97cf8" 5 | } 6 | -------------------------------------------------------------------------------- /pools/cold3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakePoolSigningKey_ed25519", 3 | "description": "Stake Pool Operator Signing Key", 4 | "cborHex": "5820868ee5a60dc1b83fd665d70ea0628a27e68eb37324f8b3ec465cc8ef720d1fa4" 5 | } 6 | -------------------------------------------------------------------------------- /pools/staking-reward1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeSigningKeyShelley_ed25519", 3 | "description": "Stake Signing Key", 4 | "cborHex": "5820cd0d9fc2bfd89446477fbcf39c68d99631000f56fa006e69e0125fee8966834f" 5 | } 6 | -------------------------------------------------------------------------------- /pools/staking-reward2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeSigningKeyShelley_ed25519", 3 | "description": "Stake Signing Key", 4 | "cborHex": "58207cbebee6d43b59c1ede2e250329caaf74bb9ecc3292883ba9d9d22a988465d91" 5 | } 6 | -------------------------------------------------------------------------------- /pools/staking-reward3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeSigningKeyShelley_ed25519", 3 | "description": "Stake Signing Key", 4 | "cborHex": "582040d3ceeccbd15ea9c653491803228f5ef4c901c7c3552fde6c3518538c49ab94" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.vrf.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfVerificationKey_PraosVRF", 3 | "description": "VRF Verification Key", 4 | "cborHex": "582057d13719a8ad5b6120fc0a02f872f7e96923ccad69c8bbc2eb59ade3c2b702e9" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.vrf.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfVerificationKey_PraosVRF", 3 | "description": "VRF Verification Key", 4 | "cborHex": "582041c2820bfcb528dc6fa7245fb57b58363929ccc3a97221f203f3244c7a50b0d6" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.vrf.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfVerificationKey_PraosVRF", 3 | "description": "VRF Verification Key", 4 | "cborHex": "5820506dc3664ff50fb595c9c3e8a8baf58124db505b28feb8992a6eb849f99e8257" 5 | } 6 | -------------------------------------------------------------------------------- /genesis-keys/genesis1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisVerificationKey_ed25519", 3 | "description": "Genesis Verification Key", 4 | "cborHex": "5820a39129f08d738242fb9ceb0e3b5a680e9bb7da36ef144e28b786d589b6dc86dc" 5 | } 6 | -------------------------------------------------------------------------------- /genesis-keys/genesis2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisVerificationKey_ed25519", 3 | "description": "Genesis Verification Key", 4 | "cborHex": "58206290fb877e87c313dcc07584f6e87b6a060cecec6296368503782c431a32c030" 5 | } 6 | -------------------------------------------------------------------------------- /genesis-keys/genesis3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisVerificationKey_ed25519", 3 | "description": "Genesis Verification Key", 4 | "cborHex": "58205b4a6c52f0cd66e23affbc5608d419a12e3b48f281c82118c71b05721855a3d2" 5 | } 6 | -------------------------------------------------------------------------------- /pools/cold1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakePoolVerificationKey_ed25519", 3 | "description": "Stake Pool Operator Verification Key", 4 | "cborHex": "58206e6bc971d05494b46371336dc155a9b280f30248523ce9cffb97df9946af7d33" 5 | } 6 | -------------------------------------------------------------------------------- /pools/cold2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakePoolVerificationKey_ed25519", 3 | "description": "Stake Pool Operator Verification Key", 4 | "cborHex": "5820a75f439010c15086d900374ecfdf9f51f05aa1a60ec6df0ed407c9383043cee4" 5 | } 6 | -------------------------------------------------------------------------------- /pools/cold3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakePoolVerificationKey_ed25519", 3 | "description": "Stake Pool Operator Verification Key", 4 | "cborHex": "58205abb49b06d4ade6004cffc2939cc8f42fe90d78b03bcd637b0509376181b5ec2" 5 | } 6 | -------------------------------------------------------------------------------- /pools/staking-reward1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeVerificationKeyShelley_ed25519", 3 | "description": "Stake Verification Key", 4 | "cborHex": "5820113ecda183f7ef67ff2ae635acb2ac3ec35a01242989f8bfc9e75b2db8b560fd" 5 | } 6 | -------------------------------------------------------------------------------- /pools/staking-reward2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeVerificationKeyShelley_ed25519", 3 | "description": "Stake Verification Key", 4 | "cborHex": "5820f4b33707c6d08f290a2f4590e52091929b46efca69d7aabbb235aab8dcff60be" 5 | } 6 | -------------------------------------------------------------------------------- /pools/staking-reward3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeVerificationKeyShelley_ed25519", 3 | "description": "Stake Verification Key", 4 | "cborHex": "5820acb0bebf9534807f580948778e5122559c22494687563bd511fa65136fc8f5e9" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/staking1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeSigningKeyShelley_ed25519", 3 | "description": "Stake Signing Key", 4 | "cborHex": "582095e0d83f0d4a9ef851606e408049a920dba40e9c07d2df8d3322ed289ecf4d21" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/staking2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeSigningKeyShelley_ed25519", 3 | "description": "Stake Signing Key", 4 | "cborHex": "5820c102f34b4a28d319f6ee1e7090eac6d2c08e6907ae790aa8608f37d346d2d3e4" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/staking3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeSigningKeyShelley_ed25519", 3 | "description": "Stake Signing Key", 4 | "cborHex": "58209b577bf0f1f078b807543ea3c8c59405c0eb2f685b3735f09f57bb5de747cb14" 5 | } 6 | -------------------------------------------------------------------------------- /utxo-keys/utxo1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisUTxOSigningKey_ed25519", 3 | "description": "Genesis Initial UTxO Signing Key", 4 | "cborHex": "5820f02b4bbbe8110e414266115caef7c6cbea846340ce0dd011f0ae94da78b28f09" 5 | } 6 | -------------------------------------------------------------------------------- /utxo-keys/utxo2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisUTxOSigningKey_ed25519", 3 | "description": "Genesis Initial UTxO Signing Key", 4 | "cborHex": "58206e4858b8eb0c097b71712f321e05dc2cd067280c9b9bcfd5e0a317d73d9b8b47" 5 | } 6 | -------------------------------------------------------------------------------- /utxo-keys/utxo3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisUTxOSigningKey_ed25519", 3 | "description": "Genesis Initial UTxO Signing Key", 4 | "cborHex": "58201a43fec67b62093883c49a27d01f68453c3ab41126fc45c708ad96affe748c2f" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.kes.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesVerificationKey_ed25519_kes_2^6", 3 | "description": "KES Verification Key", 4 | "cborHex": "5820bb2fc1564ab1b078ebca2cce5c4a3721c0c4eac123b9144a48816bdb6a4d8b00" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.kes.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesVerificationKey_ed25519_kes_2^6", 3 | "description": "KES Verification Key", 4 | "cborHex": "5820e733fc4547065c29cc6d696c75653862456078a960b950d50094102320475514" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.kes.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesVerificationKey_ed25519_kes_2^6", 3 | "description": "KES Verification Key", 4 | "cborHex": "58208fb68404596e7e42e849cd27567c0d19956b531ff6eac2ba1dcdcf1f116e6411" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/payment1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "PaymentSigningKeyShelley_ed25519", 3 | "description": "Payment Signing Key", 4 | "cborHex": "58206ba59ffd51651f07dd78c3a79ef4cbee437c86f6c3cbfa8bf681cf53630bd40e" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/payment2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "PaymentSigningKeyShelley_ed25519", 3 | "description": "Payment Signing Key", 4 | "cborHex": "58207f86914bc920869b21a55e09db0d9bc59088156d470744bdace9942a7f113471" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/payment3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "PaymentSigningKeyShelley_ed25519", 3 | "description": "Payment Signing Key", 4 | "cborHex": "5820d992dadb7f96feb444ff500ffb4d17d649359ab7e452a6f04502230990df9730" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisDelegateSigningKey_ed25519", 3 | "description": "Genesis delegate operator key", 4 | "cborHex": "5820b6b10059d83a26281dae4e05b747540d6c976ef6478c8bf18d131cd16410903f" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisDelegateSigningKey_ed25519", 3 | "description": "Genesis delegate operator key", 4 | "cborHex": "5820b1c51880c7325a57fab30793bc4021eb43a6d52a0d0b1b4d592b9bd5d6878dff" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisDelegateSigningKey_ed25519", 3 | "description": "Genesis delegate operator key", 4 | "cborHex": "5820b56a4cd7e07d1c11d33bc668447332d5cdc48c9233ee56b1f9fe17bf449c21d7" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/staking1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeVerificationKeyShelley_ed25519", 3 | "description": "Stake Verification Key", 4 | "cborHex": "58200b9c8168fd9ffc402a966faf4b61bd49a8da38c93e99ad7a43138dbbf40e6895" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/staking2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeVerificationKeyShelley_ed25519", 3 | "description": "Stake Verification Key", 4 | "cborHex": "5820a108a843eb0c9f4a8a4e4499512c7e61086876b75f041fcfa9ee6ecccd45e1c5" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/staking3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "StakeVerificationKeyShelley_ed25519", 3 | "description": "Stake Verification Key", 4 | "cborHex": "58201cae17e32148bcfad00c193583bf159f9258f7cfd021ef1ca32877f450046023" 5 | } 6 | -------------------------------------------------------------------------------- /utxo-keys/utxo1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisUTxOVerificationKey_ed25519", 3 | "description": "Genesis Initial UTxO Verification Key", 4 | "cborHex": "5820bf50307406c0e9f79bdbab8608533be231c2c00feede681f628c4582d6159e34" 5 | } 6 | -------------------------------------------------------------------------------- /utxo-keys/utxo2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisUTxOVerificationKey_ed25519", 3 | "description": "Genesis Initial UTxO Verification Key", 4 | "cborHex": "5820371d8417470115fc5d5a10180a12c28c5bf7bae28927954ca3f9b49ba1186799" 5 | } 6 | -------------------------------------------------------------------------------- /utxo-keys/utxo3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisUTxOVerificationKey_ed25519", 3 | "description": "Genesis Initial UTxO Verification Key", 4 | "cborHex": "58207e4fdbceaffe0e01ff53f70f3cdfe22b91bc3664df0335b622d32376d7967517" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisDelegateVerificationKey_ed25519", 3 | "description": "Genesis delegate operator key", 4 | "cborHex": "58206e11fcd2a7828d2e8b5211465e6d3b637cb62fd2f95a1d2633c50f684fd3c233" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisDelegateVerificationKey_ed25519", 3 | "description": "Genesis delegate operator key", 4 | "cborHex": "582083f8a065fba3e228ee6d3eabf33e54609036033ce58162f54fe6d6cb630c8a1b" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "GenesisDelegateVerificationKey_ed25519", 3 | "description": "Genesis delegate operator key", 4 | "cborHex": "58208210dd06e870768f9ea698c085ccc1586ab3aecd338165b08cf010a36a12d9a6" 5 | } 6 | -------------------------------------------------------------------------------- /pools/opcert1.counter: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificateIssueCounter", 3 | "description": "Next certificate issue number: 1", 4 | "cborHex": "820158206e6bc971d05494b46371336dc155a9b280f30248523ce9cffb97df9946af7d33" 5 | } 6 | -------------------------------------------------------------------------------- /pools/opcert2.counter: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificateIssueCounter", 3 | "description": "Next certificate issue number: 1", 4 | "cborHex": "82015820a75f439010c15086d900374ecfdf9f51f05aa1a60ec6df0ed407c9383043cee4" 5 | } 6 | -------------------------------------------------------------------------------- /pools/opcert3.counter: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificateIssueCounter", 3 | "description": "Next certificate issue number: 1", 4 | "cborHex": "820158205abb49b06d4ade6004cffc2939cc8f42fe90d78b03bcd637b0509376181b5ec2" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/payment1.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "PaymentVerificationKeyShelley_ed25519", 3 | "description": "Payment Verification Key", 4 | "cborHex": "5820c08d848793914e15d7f9af7a24d0f0dd4e0ef385a26d489af0e50757c22ebd9f" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/payment2.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "PaymentVerificationKeyShelley_ed25519", 3 | "description": "Payment Verification Key", 4 | "cborHex": "58203c7c2cdc5ff15345fb604869a798ff9784c3ddfbd496f98b91a0cfa124882d77" 5 | } 6 | -------------------------------------------------------------------------------- /stake-delegator-keys/payment3.vkey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "PaymentVerificationKeyShelley_ed25519", 3 | "description": "Payment Verification Key", 4 | "cborHex": "58203fe447a2621efc72ad84e6978fe9249c04ad8aa3ccedd84ee0ec24767f9447bc" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.counter: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificateIssueCounter", 3 | "description": "Next certificate issue number: 1", 4 | "cborHex": "820158206e11fcd2a7828d2e8b5211465e6d3b637cb62fd2f95a1d2633c50f684fd3c233" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.counter: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificateIssueCounter", 3 | "description": "Next certificate issue number: 1", 4 | "cborHex": "8201582083f8a065fba3e228ee6d3eabf33e54609036033ce58162f54fe6d6cb630c8a1b" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.counter: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificateIssueCounter", 3 | "description": "Next certificate issue number: 1", 4 | "cborHex": "820158208210dd06e870768f9ea698c085ccc1586ab3aecd338165b08cf010a36a12d9a6" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo1/vrf.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfSigningKey_PraosVRF", 3 | "description": "VRF Signing Key", 4 | "cborHex": "58404eee631731f96cfc58a683266782bc6d1ea9864b8c227eca27665aa63d113c0e631f07bb2489be554f233ff56e37728c13ca2b9ddba1f3ce6a7c1efb1abf18c1" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo2/vrf.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfSigningKey_PraosVRF", 3 | "description": "VRF Signing Key", 4 | "cborHex": "584085d0491e232dbc9fb6e74dade3978403f3c3af46a5e48ad315ac69f45dcc50aca191b7b3c6572d8383dff8ab5e6469882e5eac2756bbefe24bb3052c95bd9280" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo3/vrf.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfSigningKey_PraosVRF", 3 | "description": "VRF Signing Key", 4 | "cborHex": "5840fcec19e6dba76524d8ac96c0f0dedc5b0165aaba51745ecd8313b95cdef298272487e58b4495b05b49c41bc1709185a892a1634d5fbd306433ca854bea9d0628" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.vrf.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfSigningKey_PraosVRF", 3 | "description": "VRF Signing Key", 4 | "cborHex": "5840afa51926cb0467b27680f46a5329525331e91b7765d1106604baabfa6fca57d457d13719a8ad5b6120fc0a02f872f7e96923ccad69c8bbc2eb59ade3c2b702e9" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.vrf.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfSigningKey_PraosVRF", 3 | "description": "VRF Signing Key", 4 | "cborHex": "58400347ff0168302d61562330c0851c3f9a39798adfd6e46b29ed68d6efb4c213f741c2820bfcb528dc6fa7245fb57b58363929ccc3a97221f203f3244c7a50b0d6" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.vrf.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "VrfSigningKey_PraosVRF", 3 | "description": "VRF Signing Key", 4 | "cborHex": "5840cd745115042456865e0f7c222e4a3aa27fd806ad91dabca551ce81776a176545506dc3664ff50fb595c9c3e8a8baf58124db505b28feb8992a6eb849f99e8257" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo1/topology.json: -------------------------------------------------------------------------------- 1 | { 2 | "Producers": [ 3 | { 4 | "addr": "127.0.0.1", 5 | "port": 3002, 6 | "valency": 1 7 | } 8 | , { 9 | "addr": "127.0.0.1", 10 | "port": 3003, 11 | "valency": 1 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /node-spo2/topology.json: -------------------------------------------------------------------------------- 1 | { 2 | "Producers": [ 3 | { 4 | "addr": "127.0.0.1", 5 | "port": 3001, 6 | "valency": 1 7 | } 8 | , { 9 | "addr": "127.0.0.1", 10 | "port": 3003, 11 | "valency": 1 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /node-spo3/topology.json: -------------------------------------------------------------------------------- 1 | { 2 | "Producers": [ 3 | { 4 | "addr": "127.0.0.1", 5 | "port": 3001, 6 | "valency": 1 7 | } 8 | , { 9 | "addr": "127.0.0.1", 10 | "port": 3002, 11 | "valency": 1 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /node-spo1/opcert.cert: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificate", 3 | "description": "", 4 | "cborHex": "82845820e483a909c2b7c136d45fb5698e0f122d744cf8b1dca3d3316c62197b89268f7b00005840816b3cad8372117c81b7a6288fedfd3fe76b28d1bc40f4210401490f10afeb45f2cb958827775a7ead19d81bc7d743304248280e4aa9a45629685f73c820a70b58206e6bc971d05494b46371336dc155a9b280f30248523ce9cffb97df9946af7d33" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo2/opcert.cert: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificate", 3 | "description": "", 4 | "cborHex": "82845820b00472413581a6cc61c5402c3eda5036a33d3ca99b5bafeb5f5cdde45d399643000058408a92a3c9f36f7c94e9f69fde51f5be40f69cb4cdd88c86848c27797603f2d60f388af7516d354322f4c4fb9fad99a5f5ddc22c14fff1f0baf0d69da2753afb035820a75f439010c15086d900374ecfdf9f51f05aa1a60ec6df0ed407c9383043cee4" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo3/opcert.cert: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificate", 3 | "description": "", 4 | "cborHex": "8284582013c1d5828110418cf505d2ac48b0388cb4c0ccfd1e52bd63eebd4330ecb6312500005840750a08d0458b239ad16c658038e87f1f49dc73e0c24295d6c1b0926e07a2d55ba20e406dfab9d955f572a58a3b9df22376476537e773733bf8c49fa5a70ea00c58205abb49b06d4ade6004cffc2939cc8f42fe90d78b03bcd637b0509376181b5ec2" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/opcert1.cert: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificate", 3 | "description": "", 4 | "cborHex": "82845820bb2fc1564ab1b078ebca2cce5c4a3721c0c4eac123b9144a48816bdb6a4d8b0000005840d9348f3ef4801a47691b7062a5dbd8dff77a47b68b6dffdd26401330ae0f518f102cad64a692c3b065013e749e30fed1ba477231d81e13e944c507806f7d420e58206e11fcd2a7828d2e8b5211465e6d3b637cb62fd2f95a1d2633c50f684fd3c233" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/opcert2.cert: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificate", 3 | "description": "", 4 | "cborHex": "82845820e733fc4547065c29cc6d696c75653862456078a960b950d5009410232047551400005840e560001f0ab61a6119bd79ff419d3cc799eb357e1a18a06e609fe4d501998a3bb94d536dff1266cfcad4b4a709ec34e8bfd88f2ca438c38f2742572705786f0d582083f8a065fba3e228ee6d3eabf33e54609036033ce58162f54fe6d6cb630c8a1b" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/opcert3.cert: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NodeOperationalCertificate", 3 | "description": "", 4 | "cborHex": "828458208fb68404596e7e42e849cd27567c0d19956b531ff6eac2ba1dcdcf1f116e64110000584093a6c135a7bfef2fbbcaec6ab63f5bb8f2ac56b4bb6609d51a6187ac4c35722d270b75e8c2176e945598c10162d7dcd000431f6649a0112cae612a915443df0458208210dd06e870768f9ea698c085ccc1586ab3aecd338165b08cf010a36a12d9a6" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo1/byron-delegation.cert: -------------------------------------------------------------------------------- 1 | { "omega": 0 2 | , "issuerPk": 3 | "KL0lGuboe3AcdBbl/MjOdHi6k6WqNiLgVhsMrwODdELQquZhUl4RkNovh4EATeJQP4KEYwlvPjXeHxpa3e21eA==" 4 | , "delegatePk": 5 | "+WDigPDdR4o45OHfy2Mzt+CDI1kOSHKq2dE6RKjC5qpfiq3NfYpdGmWX2iSn3BvwluCj6NLsWeQx/WjA+CkhCg==" 6 | , "cert": 7 | "d96e027fb5e56497906a861ea4ba2f44ed766201a7b5a0826a17e77540ad58a740b892b964c745b1f463914c2297c1d484bd145af7b56a73184d44ef844c5d03" 8 | } -------------------------------------------------------------------------------- /node-spo2/byron-delegation.cert: -------------------------------------------------------------------------------- 1 | { "omega": 0 2 | , "issuerPk": 3 | "MFGlW2Qia1ujOiQo71b6kjB5l7pID2JwpUZTbX9XkDvKj81JVXPbSDqp//ZLeqlCBjHTxIGnJl4xxSiHTibjHw==" 4 | , "delegatePk": 5 | "+7/inRRwWiW9sSicUMvQwZ1c/RW1oPGVLI5GZGL4IH5cWcgHz4gWjqcIISvZdio9R6SAaNAnvqZquUlr40Advg==" 6 | , "cert": 7 | "f417ccc3740b6570f4d3fc69b8c9d6563f52cbeee5a2fa48ddee68b5ae7b6ca066169e6ff161c78655d4d97faea1b0f74ee25fa4d6657710f582f46c6f0a0507" 8 | } -------------------------------------------------------------------------------- /node-spo3/byron-delegation.cert: -------------------------------------------------------------------------------- 1 | { "omega": 0 2 | , "issuerPk": 3 | "PxUU3bTOerPzrtigRthsIDKE8qsMxaZ6agS97dEGVX4XBw4heAH+YW/Z3+1I1GWqxk0HkhNFwlejHaQsobPjMQ==" 4 | , "delegatePk": 5 | "7aCYVejW1qwioe7loBeaDelZHsAcGojQ4T61mPCYS5gLvaNOtbvQCgYnCD0EC5GepfKpXP6plcnXbE+U/Fw+dA==" 6 | , "cert": 7 | "bafbb77fa519e5eebba5cee471f7741d99cd10d1f6d9fc4ed1d36bb75a5f66fb09b0dc6c3ee9a2c8a0a3a4de593c5de6c6e9ecc200fa8ebfdf6460f9d5327900" 8 | } -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:11-slim as builder 2 | 3 | WORKDIR /build 4 | RUN apt-get update -y && \ 5 | apt-get install -y wget tar && \ 6 | wget https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz && \ 7 | mkdir -p bin && \ 8 | tar -xzf cardano-node-1.35.5-linux.tar.gz -C bin 9 | 10 | FROM debian:11-slim 11 | 12 | WORKDIR /root 13 | RUN apt-get update -y && \ 14 | apt-get install -y tzdata ca-certificates 15 | COPY --from=builder /build/bin ./bin 16 | COPY . . 17 | CMD ["./scripts/reset.sh"] 18 | -------------------------------------------------------------------------------- /run/node-spo1.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cardano-node run \ 4 | --config 'configuration.yaml' \ 5 | --topology 'node-spo1/topology.json' \ 6 | --database-path 'node-spo1/db' \ 7 | --socket-path 'sockets/node-spo1.sock' \ 8 | --shelley-kes-key 'node-spo1/kes.skey' \ 9 | --shelley-vrf-key 'node-spo1/vrf.skey' \ 10 | --byron-delegation-certificate 'node-spo1/byron-delegation.cert' \ 11 | --byron-signing-key 'node-spo1/byron-delegate.key' \ 12 | --shelley-operational-certificate 'node-spo1/opcert.cert' \ 13 | --host-addr 0.0.0.0 \ 14 | --port 3001 | 15 | tee -a 'node-spo1/node.log' 16 | -------------------------------------------------------------------------------- /run/node-spo2.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cardano-node run \ 4 | --config 'configuration.yaml' \ 5 | --topology 'node-spo2/topology.json' \ 6 | --database-path 'node-spo2/db' \ 7 | --socket-path 'sockets/node-spo2.sock' \ 8 | --shelley-kes-key 'node-spo2/kes.skey' \ 9 | --shelley-vrf-key 'node-spo2/vrf.skey' \ 10 | --byron-delegation-certificate 'node-spo2/byron-delegation.cert' \ 11 | --byron-signing-key 'node-spo2/byron-delegate.key' \ 12 | --shelley-operational-certificate 'node-spo2/opcert.cert' \ 13 | --host-addr 0.0.0.0 \ 14 | --port 3002 | 15 | tee -a 'node-spo2/node.log' 16 | -------------------------------------------------------------------------------- /run/node-spo3.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cardano-node run \ 4 | --config 'configuration.yaml' \ 5 | --topology 'node-spo3/topology.json' \ 6 | --database-path 'node-spo3/db' \ 7 | --socket-path 'sockets/node-spo3.sock' \ 8 | --shelley-kes-key 'node-spo3/kes.skey' \ 9 | --shelley-vrf-key 'node-spo3/vrf.skey' \ 10 | --byron-delegation-certificate 'node-spo3/byron-delegation.cert' \ 11 | --byron-signing-key 'node-spo3/byron-delegate.key' \ 12 | --shelley-operational-certificate 'node-spo3/opcert.cert' \ 13 | --host-addr 0.0.0.0 \ 14 | --port 3003 | 15 | tee -a 'node-spo3/node.log' 16 | -------------------------------------------------------------------------------- /scripts/download-config.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This script is for development purpose only. It will download official config files so we can compare them with current config files. 4 | 5 | set -euo pipefail 6 | 7 | rm -rf dev-config 8 | mkdir -p dev-config 9 | cd dev-config 10 | 11 | wget https://book.world.dev.cardano.org/environments/mainnet/config.json 12 | wget https://book.world.dev.cardano.org/environments/mainnet/topology.json 13 | wget https://book.world.dev.cardano.org/environments/mainnet/byron-genesis.json 14 | wget https://book.world.dev.cardano.org/environments/mainnet/shelley-genesis.json 15 | wget https://book.world.dev.cardano.org/environments/mainnet/alonzo-genesis.json 16 | -------------------------------------------------------------------------------- /scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This script install cardano-node's binaries into bin/ directory. 4 | # If you want to include the binaries in your PATH, run: 5 | # export PATH=$PATH:$PWD/bin 6 | 7 | set -euo pipefail 8 | 9 | here="$(cd "$(dirname "$0")" >/dev/null 2>&1 && pwd)" 10 | root="$(cd "$here/.." && pwd)" 11 | cd "$root" 12 | 13 | clean() { 14 | echo "Clean up" 15 | rm bin.tar.gz 16 | } 17 | trap clean EXIT 18 | 19 | rm -rf bin 20 | mkdir -p bin 21 | 22 | echo "Download binaries from official IOHK build" 23 | case $(uname) in 24 | Darwin) 25 | wget -O bin.tar.gz https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-macos.tar.gz 26 | ;; 27 | Linux) 28 | wget -O bin.tar.gz https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz 29 | ;; 30 | esac 31 | 32 | echo "Unarchive binaries file" 33 | tar -xzf bin.tar.gz -C bin 34 | -------------------------------------------------------------------------------- /node-spo1/kes.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesSigningKey_ed25519_kes_2^6", 3 | "description": "KES Signing Key", 4 | "cborHex": "5902604bf6bc5678e4e2dc256145578b8c14bea6c8f69b80dfe89ed83ebbd93b935fcad924d67d16f6e6eb3a90052a6794b5859d599cfc4895c9b7f8edd9f79f573814e9e57f4df6f98140cf6aa1ad7b6d678b726eabd82aa3a247097c71481dc1b7464d281938d9f5b038f92e2b031c68f1df1e201247611f8033a8eea1ad19472d06897eb58c569c0b62aad8d4a8da52f5404858bd8f3379b4412f117bf4280954013f217431a1a451072f63448f854193e07700b224617a97fa2a067cb2bb6f1311bbfedcbcb34ded9aeae0ed24b077bde6dac76cc7c1d4280b11b5d0991cd59ae3e11e037e180a38845c474c2b99606e15ea154146afc642262f14d76a304082aae873f6c5c29a4e6b38619e23c08fbe1a3d0571a6574868e89419feec1d2c4e0c7425a582655934b15e467c4d49d35c97bfe5f175ec9bf6a30d793bc4045a6824a469f2d873c5a62225c559f8e82f47e9928b1a412eab207eababb53617c584bbcec30585d930af7695e43a9e2ea7d696636362f1be4d6a457c3ec35710a309387a1eadf1323b867edf5488a5a8b7b8458aab790ec85dfc416654d725f785ea6f3ef83de95e570ea96b415856e7c9afac2ffa25605dcab1308a1eadbd8a0f842a669006415600be1194b46010842e58994115c182fd937e89bf586cb9d62ba33257a93665773ec50e408f710a06a7d223c84d1c3fed02fb53475c596993e51588d6aaae7b020a5dc87ae4783a66394c611a21a836d14e4d6d0510a4841f379c0cd75efa6b50a440876f94ec2bc1f878e11cd9d88b7868018582dc15553cffa22ea93a2ccff508e6ec13d4f4ce7fbe899ffef7522ea51a938932d7595d5450e8eb" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo2/kes.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesSigningKey_ed25519_kes_2^6", 3 | "description": "KES Signing Key", 4 | "cborHex": "590260c481681b2fccf14d8aab36ebdfa034aee51f2ed248fc3d7fd9c28da6c37a3b62766f3adb8a2c6af5c666ab4bff6570bfb43ff7a9190d4d6d9ba0b1d578767febf95e6b5171d0521dfd51b303104088408635c06c5fa4d1c3306577f09eda4c34c02c1ca2aa9c191869cc09a5cd237738a5d05479f25fad9efaa28c4659b67c0dfa8e46d9efee32eec49c945195a9834cd6206d05746c3b526d775f3d87cbb4c6d3bbeeb7604325aa6cb0d1901f6584c2d926971a93cedb1e9a1a00c2df50afd9b778cafbc56ec0a91cd6d63fa64f594f74a6a5e0900f60f30d67ddc6aad98a7995c00d6fa89f7176c5042d4be8ed90469b36c7eec17ab1e3a66bd8162b353be28aa766e53e184d0c0f581c6cd52f8e30226aad9e1fa8a370e70519edf81657e5ea8d7b54a290a920f021c380537bebd299e8c14f731828507896c4dee46c1fcdf686126cffff65140ed561f019843b4c353af4718724ae441473ceaccd665455da0e36d84c1c85edcdaf4ad51b38ef8bf4206bdb6968b0d684050b762ba6b91e9761724bbe1c4e259b3b0611a80fe176137e598674f51c7bcdf8db6414bc5b205aab95c1bddd5ec419a820000a41708939fc4ca8070cfd2f582425022f4ea3f54d8f766b69f48e413e8d3876d2a8633f3c5653d68957499e1f908df561e850b4cbd28a40f6fe5f8b5cfef2710a00d96f0834fa183cc72b4c6581afdb1344a3f5d8858ac4eb892f03755c9fdfa812905db1dc2d90773ebb7118dba88a685ffa33153f1f18fa7a636ab6784379dcd5e1502d8ac80c1a5c5a31b0d416d867e1c830b210fa1bf502118cd4366468165a8c49fb0475ae27a153b46229d92fda4f0f4f" 5 | } 6 | -------------------------------------------------------------------------------- /node-spo3/kes.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesSigningKey_ed25519_kes_2^6", 3 | "description": "KES Signing Key", 4 | "cborHex": "5902601ab5c3e24168cce3544fbcad410916d48e61d4ade04f0f9433d4a9e3c70217b2d183b23f3a39fb7e37b7b9cabd8ade88e8e8e1374ac64c3578ccc3cbeac65235f20e33654654a939973660ca4e8ca0b73c621d11cecd0e8abb2228080e546d46567b3b13dc13de6738a4a64c1eccd7a23ec4a2382dc25b866ef57eac724e424a94729f0764b3c47723c1180a917ffc218379f2217a4c8561e15ceb520f9eebecbb14e6ee63e077502d33f8ad467e97786a4b2357f99757badb16c796d9d10b6d014663e4f14cff78a7f3a5a567f9429e680c55d741e1f00896f4127c53d67109f502b309459da47e6b2c738d640c8402595759d7658b1793e2a08371e58b34831ad71fccd62c219790b423137d8d6b36850a894319b1c86eaa034f98c79f91b5b2b2eaa17e71d74ffe0736845ffda4ab098d0199bfe0cc9648845e7879462b3f4de3149b0a28c607295c436546f9958115554bb3ecb08ce180da41dc952eda2747289a424ebb51538fed842e66d41de20556dd3bb80fe3267bb8f33d55ebaba4cc12bc1fc121c085d3c5c7ff41fb054d3cf33ec647ba6cdf7fa851d163fb7a2cfac621b71fe580fa57af8781ff060d711eefb734e8099fa9508435e32016774a481d488b25366c31361ddd5e15925ca3c4a6299579603230bee377fd35051be699939b6e28bdec2a6f893eab6c9486118b395895a9826983af9f3f6f14b94615c6acf186a3bb7eba077e77a9d4de22bccb1b7225b08d8ce090321a3d6a89a49a6956dfd58c0b7006cc022105a2f52b83afdd3ecd8abba03f6003ab31f0157ecced3d1ec4243b26469b0a95dba4db33572981de168d00a5b92977bbf82c80eccf" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate1.kes.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesSigningKey_ed25519_kes_2^6", 3 | "description": "KES Signing Key", 4 | "cborHex": "5902605ebb7882a2b931d0fc878c1134d1472a9a52a2302d75fba0f48a0541f24774e7c6b772597e427cb96ae4395513ca75a4a25b7be50ed7a55281f0c27a1ef44978a723cb572026e6a0ce33d61f6d5b5853e4a21b2236a2812b0fc9816b9c733c5cc2e081682b65dcfc5b2e0861844d6e5c2f45f8a4fbc9df69f303b77d35d6d90f8395cee36e42346f9a2622218a183cc6836a9681a2b9f8c53410d570080d44af1af5923b69daaf6e1d39d26e22877e5d98affd2d38fa49b490ccdb01bc69777e8a73b050b260f892835db556a9a1ec79d51ca63b0b5e897baf7bd61d76fe69107921673c89172c9c327b30fd5fca90aaccf7537ddfee1c24cba15683640b7e65a40bc45f47d6fa7791a664c67c750a2e2d9537a131393059613c187950638a004803286a73fd19a0a8fd5a0f164f85360b9b5cd18f3258f51102aa3abb0c8614236a055b7e45366d43871978a34e625599543d887ce471938480e892defbab8ad644c379b7d58f45c0f459e3bd1f9eb61db083f64d7910f8c00831cf3663be375be9b6e187b8cff31e7a9c7ae0c22224f368be68dcb4021548c6ced90fb59e046f426037c6a6fbdd425d05b3c83644395c5a9361b2c1314ef77088d369f7be1a3aebf2e2efb51fa677f62a90e857692ac0dddddffb3382941063edeef9107bbc8883c9291bebd76840433db3e6ed4eaa28c7fa2626001c1a81e12a1521fd1eebce07b293f3954bc8133ddb96322b48748adccfd6aba621a09d29ff057e0aaa7a5db7cb9b7de232d906b24a63e64c2fcbf0607a609d3efe1a699835bbf99bb8f9afc89f14b64150ec28e6ace36b1312f829cbe9db9a2a2ac7a26ee1346d931741" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate2.kes.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesSigningKey_ed25519_kes_2^6", 3 | "description": "KES Signing Key", 4 | "cborHex": "590260466490d357666e801267198559ce5ba39b02c31273f3c59889fb4ff23e85b33d3c994deabfc490c63f5659e829b72701f04a0b9fbc34979676d80c23ba367ac88b230c583f6c9c2dc93ee1814927710f7567ca444334eeebdf70c925b4e852d24b818dbf3f102a9807f2f93ec1e3033b504eda90d8281837d25bb23db0fb2ddb181c7495d28a09e27806353db4d3969dcd193c5281f90644b1851518d18e26519543c1dbe4eb216afda67cabbb5dcb4a87af191dc1430cebc53adb26832d7686f45611813bd57b90fd8625704c52f2e3b4460ca5b1d7e2e0ff17f863d08dd589b1546346ba119d2feade9251dab7faedac7ea0391a81078620f928dd29c5457153fd31c9c3a43584566e41817b4eeb3a2547b83b890d4dc7ce92fb2cc99d8db024ab9adaa27a35f9725f92427e1104db021f846346e414a348cc465b493981c2690b8650c8df715f29e74a33598a9111c9c1be8eba6ca528ce87e4abfc1836b01ac417db0d4da426296aeed58d0bd748bf89b2d41cb39db2eba13746255bc03866b850539d4775607c03ec87a50ca26564fc54b29baf7cb494cb1bf510750be4b5e17ce01134ed40ff166664f1acc7642dccace8de1450f23bff5762ddfb2f13942e300764aab91850375d3ec2bfd43aae5b02116c74ef57f312590d83680af57aaf53b2e470c28b8b51d1de6eeeca90ab022af28689860886d03736432d42df6faeab115a11f50d70434222d9884366b3ec913aff2de0e45fb785191c2bb384b2058b9ca23e66fb2d5829fa1953cf1c1606a0888781fde996853117e13262992c39bb6dec0a0f9d96654c6a0da223fe69f765f5a89a375e14c1fa669e08e58b" 5 | } 6 | -------------------------------------------------------------------------------- /delegate-keys/delegate3.kes.skey: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KesSigningKey_ed25519_kes_2^6", 3 | "description": "KES Signing Key", 4 | "cborHex": "590260eef8c3dcb25488b131f92fdfcf7904e7873ce674de61389fe2bcc4cdd68afb8e14eaea4491cc3306d98f4f36281cd0f3aa249c64337a15f16d5eefef560c05521d14f3a7a1716332b04ce48b0b4699bcdd37f24b7034fbb90e0663963e1ea2ca656a6b30f2067b9e2e2e6559e53c7615e3777a3b638b7f36d32de3497d698e80a521df208d12684695914f2a1005f332dbabaa7d8b728787565abaeb36540cb32b2b4ee60d7c7e6bead79b5523f6a285e0c8b0505dfe65306c7a0adb176802ef050accc734d50b73b3f5f34ba476c047ebe3e808105c09a172c2c9ef6490d734ac197c5a20c92eaa4242a865e7b49572ca7cf4796e41944b582b91f548ad7c251992b560f488575706edea033aba1ead233290cb7d12f4959cfd9ee4d8249cdb6987113ab3c199601e111d26727a984b0ac53ae694f0b3e96d91bf0eba23f66f32b8dcc253e54b0d5685d76f2ece19fb3d03cf0872dba60c963b732121aed83228d95c07c363a4e5f6bdcfd07e6717f53fbac934dfb3a070202ce29031605deb8341e5ac6a9e0b6cadc0887d28711780b2c1ccdad4c920591deb4869ccca6d8a76bb3cacd9b5e29205e8b981b75a124e6fd3666aba061b4bfdaef06db924c7555b4110165b6c1c147c36a0cfcb5898d632d3714405615d81bc70233ba7ecc02f6cfdeed2f61918dd95ca28208c408fd581d3da5f320f684e226e349325cc8ed8a580bf0e4175cd0c4df338bb4219f733d77b578c7bd2b7a3384e307c5bfef7cdebe9722e6f4a5dd5aff89479c6d5bebe8dcd59664a282d884753002dc589ccbba9db2271094a6974621bebbfaaf21644916d37c4d333e31cfa222de0e3fb6176" 5 | } 6 | -------------------------------------------------------------------------------- /scripts/reset.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -euo pipefail 4 | 5 | here="$(cd "$(dirname "$0")" >/dev/null 2>&1 && pwd)" 6 | root="$(cd "$here/.." && pwd)" 7 | cd "$root" 8 | 9 | export PATH=$PWD/bin:$PATH 10 | 11 | # Use GNU sed for MacOS 12 | case $(uname) in 13 | Darwin) sed='gsed' ;; 14 | *) sed='sed' ;; 15 | esac 16 | 17 | case $(uname) in 18 | Darwin) date='gdate' ;; 19 | *) date='date' ;; 20 | esac 21 | 22 | timeISO=$($date -u -d "now + 30 seconds" +"%Y-%m-%dT%H:%M:%SZ") 23 | timeUnix=$($date -d "now + 30 seconds" +%s) 24 | 25 | echo "Clean old state and logs" 26 | rm -rf \ 27 | logs \ 28 | node-spo1/db \ 29 | node-spo1/node.log \ 30 | node-spo1/node.sock \ 31 | node-spo2/db \ 32 | node-spo2/node.log \ 33 | node-spo2/node.sock \ 34 | node-spo3/db \ 35 | node-spo3/node.log \ 36 | node-spo3/node.sock \ 37 | sockets/* 38 | 39 | mkdir -p sockets 40 | 41 | echo "Update start time in genesis files" 42 | $sed -i -E "s/\"startTime\": [0-9]+/\"startTime\": ${timeUnix}/" genesis/byron/genesis.json 43 | $sed -i -E "s/\"systemStart\": \".*\"/\"systemStart\": \"${timeISO}\"/" genesis/shelley/genesis.json 44 | 45 | echo "Update VRF key permission, sometimes GitHub changes these" 46 | chmod 600 \ 47 | node-spo1/vrf.skey \ 48 | node-spo2/vrf.skey \ 49 | node-spo3/vrf.skey 50 | 51 | # Kill all child processes on Ctrl+C 52 | trap 'killall -2 cardano-node' EXIT 53 | 54 | echo "Run all nodes" 55 | run/node-spo1.sh & 56 | run/node-spo2.sh & 57 | run/node-spo3.sh & 58 | 59 | # Mint test tokens as soon as nodes are ready 60 | CARDANO_NODE_SOCKET_PATH=$PWD/sockets/node-spo3.sock ./scripts/mint-tokens.sh & 61 | 62 | wait 63 | -------------------------------------------------------------------------------- /scripts/mint-tokens.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This script mint native tokens to genesis address 4 | set -euo pipefail 5 | 6 | here="$(cd "$(dirname "$0")" >/dev/null 2>&1 && pwd)" 7 | root="$(cd "$here/.." && pwd)" 8 | cd "$root" 9 | 10 | export PATH=$PWD/bin:$PATH 11 | TOKENS=(744d494e 74425443 74455448) 12 | AMOUNT='45000000000000000' 13 | 14 | clean() { 15 | rm -rf tx.raw tx.signed 16 | } 17 | trap clean EXIT 18 | 19 | while [ ! -S "$CARDANO_NODE_SOCKET_PATH" ]; do 20 | echo "mint-tokens.sh: CARDANO_NODE_SOCKET_PATH: $CARDANO_NODE_SOCKET_PATH file doesn't exist, waiting..." 21 | sleep 2 22 | done 23 | 24 | echo "Create native script minting policy" 25 | cat >utxo-keys/minting-policy.json <