From e2c477b52fe1b5ffdb54f7c0de288919f3930eaa Mon Sep 17 00:00:00 2001 From: 0x1 Date: Wed, 13 Sep 2023 05:07:07 -0400 Subject: [PATCH] sbtc-dev/getting-started: updates to config.json and creds (#85) Signed-off-by: Tyler Baker --- src/sbtc-releases/sbtc-dev/get-started.md | 44 ++++++++++++++++++----- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/src/sbtc-releases/sbtc-dev/get-started.md b/src/sbtc-releases/sbtc-dev/get-started.md index 9492a01..720afbd 100644 --- a/src/sbtc-releases/sbtc-dev/get-started.md +++ b/src/sbtc-releases/sbtc-dev/get-started.md @@ -9,7 +9,9 @@ 1. Create configuration file `config.json` in a new folder `romeo/testing` with the following content: ``` { + "network": "testnet", "state_directory": "./state", + "mnemonic": "YOUR_MNEMONIC_PHRASES", "wif": "YOUR_WIF_CREDENTIALS", "bitcoin_node_url": "http://devnet:devnet@localhost:8001/api", "stacks_node_url": "http://localhost:3999", @@ -38,15 +40,39 @@ sbtc generate-from new The output looks like below and contains the wif. ``` { - "mnemonic": "negative aspect salad kitchen banner enlist cram deputy describe exit jar anger market flip orient age maze ocean ranch hungry flavor disease high nothing", - "wif": "cNidUqiKvU3K6sypaRPNhPsXL1dcW8sdzP2JJJaCjUdK39t6F5rS", - "private_key": "0x21ea7a9532dd379130430220baba1686dbae7f5364157f2e2827a96aa1ae3f2f", - "public_key": "0x029a19ac8fb93a7b9416b5be603fa19d53eca8f6e33ac89667abc7e777afd3b816", - "stacks_address": "ST17Z635X9KRCAVHNRX3HX4XAWBJ0KM4VEHZZ2KBW", - "bitcoin_taproot_address_tweaked": "tb1p90dyzzyuqdzc9lmfss8qmds3m8cur2jyf4et99pu87t583s35xzqdltv60", - "bitcoin_taproot_address_untweaked": "tb1pngv6erae8faeg944hesrlgva20k23ahr8tyfveatclnh0t7nhqtqufj023", - "bitcoin_p2pkh_address": "mnogqbtDSktLEfz3G5wpZUPq61AVZTjPYC", - "bitcoin_p2wpkh_address": "tb1qflese02v7rzkudw8gu0f82hzusyapxm567p469" + "credentials": { + "0": { + "bitcoin": { + "p2pkh": { + "address": "n44tpstz2NPRAz2MYhdCbwRHvj87jDW6nu", + "private_key": "5a323c81001951770e728372484b90af6ab467ac4a7a1f2361f7c48b4e353cfc", + "public_key": "0233ce5eccd746c90df6d54d33e4a5741f7703ae085df340e9da8ea1648bba066a", + "wif": "cQc2mfkN2jnRReLj1oAXrk4YZ1GN7i5Ne5g2tbTdH4sp7XEgpgSd" + }, + "p2tr": { + "address": "tb1p83weqj54pkwxedwc2jctfhf2eyszuvsavad7qvk6ucffsc8u7vjsld0gxv", + "private_key": "f5eedc5f82f44551ece4a80e9930037485cfb8bed05ceac8faefb4dbfa4941ae", + "public_key": "024205c0c1cbcfe2c866d06a17735ac4bc893b02f6fb5284acccb9c55a5e6237ea", + "wif": "cVpmEAwBvCWhhRxsaXwwfsnyCkWZYkQA4n74oSFXq3MRvxmvcBRt" + }, + "p2wpkh": { + "address": "tb1qrkt8ula8cr5w5rsa83cf63nvl2dhzu3wdjpxnj", + "private_key": "6f964b2fe3bd066e0a0b51ca72cb57405a2f87734b21fcdbb8ee90cd0681e5e1", + "public_key": "035b8967d295f1f6220e5dfc203fdfc78c796e1945b10f8f4ea9996c75c053873e", + "wif": "cRKcUCoqUWbTs4iQeHUxvuSJNtBLhVL6MHWkavM44V84un2jxqz7" + } + }, + "stacks": { + "address": "ST2EAW85EB3WZQCGT1PGKG2EQDXHYHH15SJWJECEG", + "private_key": "dc4438704f7bc7bd6f08906ecf6e7e0ea3cac9a7fa019e2bb557ed3675863412", + "public_key": "02d38e1c2cd1404ee1e1b15ae833f887f969e397cebdba55ea03ba74b12c501d54", + "wif": "cUxsTywm1foSgpkAESPHLpdMLEmGKUFtgeA8NgBb3KymydhK5nV2" + } + } + }, + "mnemonic": "tobacco box reject obtain gloom cream bean trouble clap seek remove giggle half zone neck region canoe say heart narrow segment garage wild until", + "private_key": "6ef44d1e9db101b2fd02a8ad7aad15eb3b4515111f8cd75efcf177501630da72", + "wif": "cRJP8KnNWHogXDTtCDyMSpZ9RG7xFQuHEXe9ZpM93DQizQf8PLxG" } ```