Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update running_on_testnet.md #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 30 additions & 4 deletions docs/running_on_testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Additional for DLP creators:
- RPC URL: https://rpc.satori.vana.org
- Chain ID: 14801
- Currency: VANA
- Block Explorer: https://satori.vanascan.io/

7. Export your private keys. Follow the prompts and securely save the displayed private keys:
```bash
Expand Down Expand Up @@ -213,14 +214,39 @@ For non-DLP creators, request from the DLP creator:

1. Ensure you're in the `vana-dlp-chatgpt` directory:
```bash
cd
cd vana-dlp-chatgpt
```
2. Retrieve the public key in base64 format to replace it in the .env file..
```bash
cat public_key_base64.asc
```

2. If you're a non-DLP creator, edit the `.env` file with the information provided by the DLP creator:
3. If you're a non-DLP creator, edit the `.env` file with the information provided by the DLP creator:
```bash
nano .env
```
Update the `.env` file in the `vana-dlp-chatgpt` directory:
```
DLP_SATORI_CONTRACT=0x... (DataLiquidityPool address)
DLP_TOKEN_SATORI_CONTRACT=0x... (DataLiquidityPoolToken address)
PRIVATE_FILE_ENCRYPTION_PUBLIC_KEY_BASE64=... (base64-encoded private key--yes, PUBLIC is a misnomer)
# Vana Satori Testnet Configuration
OD_CHAIN_NETWORK=satori
OD_CHAIN_NETWORK_ENDPOINT=https://rpc.satori.vana.org

# Optional: OpenAI API key for data quality checks
OPENAI_API_KEY="sk-proj-xxx"

# DLP Smart Contract Addresses
DLP_CONTRACT_ADDRESS=0x... # DataLiquidityPool contract
DLP_MOKSHA_CONTRACT=0xee4e3Fd107BE4097718B8aACFA3a8d2d9349C9a5
DLP_SATORI_CONTRACT=0x... # DataLiquidityPool contract

# DLP Token Contract Addresses
DLP_TOKEN_VANA_CONTRACT=0x... # DataLiquidityPoolToken contract
DLP_TOKEN_MOKSHA_CONTRACT=0xF1925473bA6aa147EeB2529197C2704454D66b43
DLP_TOKEN_SATORI_CONTRACT=0x... # DataLiquidityPoolToken contract

# Private Key for Validator (Public Key is a misnomer)
PRIVATE_FILE_ENCRYPTION_PUBLIC_KEY_BASE64=... # base64-encoded public key
```

### Fund Validator with DLP Tokens
Expand Down