mirror of
https://github.com/codex-storage/codex-testnet-starter.git
synced 2025-02-22 15:18:13 +00:00
wip
This commit is contained in:
parent
a91f808875
commit
9244303a23
15
FORCODEXERS.md
Normal file
15
FORCODEXERS.md
Normal file
@ -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: <WIP>
|
||||
|
||||
## 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
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
0x292db809944ca4f5ca818066c85c30c9eaee3c6871ba49259f6d4bc9ba1786a6
|
||||
PRIVATE KEY HERE
|
||||
|
@ -1,5 +1,3 @@
|
||||
LOCALIP="192.168.178.138"
|
||||
|
||||
./codex-v0.1.0-linux-amd64 \
|
||||
--data-dir=data_bootstrap \
|
||||
--nat=${LOCALIP} \
|
||||
|
@ -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 \
|
||||
|
@ -1,4 +1,3 @@
|
||||
LOCALIP=192.168.178.138
|
||||
BOOTSPR=$(curl http://localhost:8080/api/codex/v1/spr | cut -d '"' -f4)
|
||||
|
||||
# Quota = 11 GB
|
||||
|
@ -1 +1 @@
|
||||
0x292db809944ca4f5ca818066c85c30c9eaee3c6871ba49259f6d4bc9ba1786a6
|
||||
PRIVATE KEY HERE
|
||||
|
@ -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% ^
|
||||
|
@ -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 ^
|
||||
|
@ -1,4 +1,3 @@
|
||||
set LOCALIP="192.168.178.138"
|
||||
set BOOTSPR="UPDATE ME FROM BOOTSTRAP NODE"
|
||||
|
||||
@REM Quota = 11 GB
|
||||
|
Loading…
x
Reference in New Issue
Block a user