diff --git a/FORCODEXERS.md b/FORCODEXERS.md new file mode 100644 index 0000000..568b196 --- /dev/null +++ b/FORCODEXERS.md @@ -0,0 +1,15 @@ +# Notes +Notes for the Codex team members who will be running the workshop. + +## Info + - Bootstrap NUC IP: 192.168.88.253 + - Bootstrap NUC SPR: + +## Workshop Checklist +Before the workshop starts: + - [ ] Check Menti code and QT code in slides + - [ ] Start local wifi network + - [ ] Check wifi credentials in slides + - [ ] Start bootstrap node on NUC + - [ ] Check bootstrap node SPR against SPR stored in host script on NUC. If changed: UPDATE scripts in this repository quickly! + - [ ] Start host node on NUC diff --git a/WORKSHOPSETUP.mb b/WORKSHOPSETUP.mb index 23cd52c..d889d5f 100644 --- a/WORKSHOPSETUP.mb +++ b/WORKSHOPSETUP.mb @@ -1,16 +1,16 @@ # Workshop Setup With these instructions you can set up a Codex node on your machine, to use during the Brussels 2024 workshop. If you run into trouble and need help, ask a nearby Codexer! -## Local network -Switch to the workshop wifi: -- SSID: `codex` -- Password: `ethcc2024` - ## Clone this repository ``` git clone https://github.com/codex-storage/codex-testnet-starter.git ``` +## Local network +Switch to the workshop wifi: +- SSID: `codex` +- Password: `ethcc2024` + Open a terminal in the scripts folder for your platform: - `scripts/linux` - `scripts/mac` @@ -22,7 +22,7 @@ Run `download` script. ## Generate an Eth key-pair Run `generate` script. -Keep your public key at hand. Update the file named `eth.key` with your private key. You may need to change the permissions for this file. See the README.md in your platform specific folder. +Keep the generated address at hand. Update the file named `eth.key` with your private key. You may need to change the permissions for this file. See the README.md in your platform specific folder. ## Start Codex node Determine your local IP address. Use `ifconfig` or `ipconfig`, depending on your platform. @@ -39,7 +39,7 @@ You can acquire tokens in one of two ways: Discord bot or faucet. ### Discord bot - Join the Codex discord server: https://discord.gg/codex-storage. - Go to the "bot" channel, in the category "codex-bot". - - Use `/set` command to enter your public key. + - Use `/set` command to enter your generated address. - Use `/mint` command to receive some tokens. ### Faucet diff --git a/scripts/linux/eth.key b/scripts/linux/eth.key index c082f66..10bc09c 100644 --- a/scripts/linux/eth.key +++ b/scripts/linux/eth.key @@ -1 +1 @@ -0x292db809944ca4f5ca818066c85c30c9eaee3c6871ba49259f6d4bc9ba1786a6 +PRIVATE KEY HERE diff --git a/scripts/linux/run_bootstrap.sh b/scripts/linux/run_bootstrap.sh index c023226..499a67b 100755 --- a/scripts/linux/run_bootstrap.sh +++ b/scripts/linux/run_bootstrap.sh @@ -1,5 +1,3 @@ -LOCALIP="192.168.178.138" - ./codex-v0.1.0-linux-amd64 \ --data-dir=data_bootstrap \ --nat=${LOCALIP} \ diff --git a/scripts/linux/run_client.sh b/scripts/linux/run_client.sh index 62fc7c6..ffaf665 100755 --- a/scripts/linux/run_client.sh +++ b/scripts/linux/run_client.sh @@ -1,5 +1,4 @@ -LOCALIP=192.168.178.138 -BOOTSPR=spr:CiUIAhIhAteA6IVIcN3egB_1rPz3HpFKVVO4emfRRcRzvyf0ES11EgIDARo8CicAJQgCEiEC14DohUhw3d6AH_Ws_PcekUpVU7h6Z9FFxHO_J_QRLXUQlcfKswYaCwoJBMCosquRAh-aKkcwRQIhAPzHOsoFmh96SeuFPzErNeck9C-vOkWp74HpddLmM4zLAiBwvbCZDaeMRkmVRVxh24J8OEGGuHFUTWPHAL8T7e8GyQ +BOOTSPR=UPDATE ME ./codex-v0.1.0-linux-amd64 \ --data-dir=data_client \ diff --git a/scripts/linux/run_host.sh b/scripts/linux/run_host.sh index 3eca484..c3b699d 100755 --- a/scripts/linux/run_host.sh +++ b/scripts/linux/run_host.sh @@ -1,4 +1,3 @@ -LOCALIP=192.168.178.138 BOOTSPR=$(curl http://localhost:8080/api/codex/v1/spr | cut -d '"' -f4) # Quota = 11 GB diff --git a/scripts/windows/eth.key b/scripts/windows/eth.key index c082f66..10bc09c 100644 --- a/scripts/windows/eth.key +++ b/scripts/windows/eth.key @@ -1 +1 @@ -0x292db809944ca4f5ca818066c85c30c9eaee3c6871ba49259f6d4bc9ba1786a6 +PRIVATE KEY HERE diff --git a/scripts/windows/run_bootstrap.bat b/scripts/windows/run_bootstrap.bat index 50c675f..a8c7c5f 100644 --- a/scripts/windows/run_bootstrap.bat +++ b/scripts/windows/run_bootstrap.bat @@ -1,5 +1,3 @@ -set LOCALIP="192.168.178.138" - start /b codex-v0.1.0-windows-amd64.exe ^ --data-dir=data_bootstrap ^ --nat=%LOCALIP% ^ diff --git a/scripts/windows/run_client.bat b/scripts/windows/run_client.bat index d3c8b9e..10d6e45 100644 --- a/scripts/windows/run_client.bat +++ b/scripts/windows/run_client.bat @@ -1,5 +1,4 @@ -set LOCALIP="192.168.178.138" -set BOOTSPR="spr:CiUIAhIhAteA6IVIcN3egB_1rPz3HpFKVVO4emfRRcRzvyf0ES11EgIDARo8CicAJQgCEiEC14DohUhw3d6AH_Ws_PcekUpVU7h6Z9FFxHO_J_QRLXUQlcfKswYaCwoJBMCosquRAh-aKkcwRQIhAPzHOsoFmh96SeuFPzErNeck9C-vOkWp74HpddLmM4zLAiBwvbCZDaeMRkmVRVxh24J8OEGGuHFUTWPHAL8T7e8GyQ" +set BOOTSPR="UPDATE ME FROM BOOTSTRAP NODE" start /b codex-v0.1.0-windows-amd64.exe ^ --data-dir=data_client ^ diff --git a/scripts/windows/run_host.bat b/scripts/windows/run_host.bat index a445bec..01172b1 100644 --- a/scripts/windows/run_host.bat +++ b/scripts/windows/run_host.bat @@ -1,4 +1,3 @@ -set LOCALIP="192.168.178.138" set BOOTSPR="UPDATE ME FROM BOOTSTRAP NODE" @REM Quota = 11 GB