Skip to content

Commit cb8a759

Browse files
authored
Merge pull request #191 from firstbatchxyz/erhant/v5-rpc-rfks
feat: RPC and payload subcrate
2 parents e692179 + 769e36e commit cb8a759

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3635
-1754
lines changed

.env.example

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
## DRIA (required) ##
22
# Secret key of your compute node, 32 byte in hexadecimal.
3-
# e.g.: DKN_WALLET_SECRET_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
3+
# e.g.: DKN_WALLET_SECRET_KEY=0xabc...123
44
DKN_WALLET_SECRET_KEY=
55
# model1,model2,model3,... (comma separated, case-insensitive)
6-
# example: phi3:3.8b,gpt-4o-mini
6+
# example: gemini-2.0-flash,gpt-4o-mini
77
DKN_MODELS=
88

99
## DRIA (optional) ##
1010
# P2P address, you don't need to change this unless this port is already in use.
1111
DKN_P2P_LISTEN_ADDR=/ip4/0.0.0.0/tcp/4001
1212
# Batch size for task worker, you do not need to edit this.
1313
DKN_BATCH_SIZE=
14+
# Initial RPC address for testing purposes
15+
# DKN_INITIAL_RPC_ADDR=
1416

1517
## DRIA (profiling only, do not uncomment) ##
1618
# Set to a number of seconds to wait before exiting, only use in profiling build!
@@ -19,10 +21,8 @@ DKN_BATCH_SIZE=
1921

2022
## Open AI (if used, required) ##
2123
OPENAI_API_KEY=
22-
2324
## Gemini (if used, required) ##
2425
GEMINI_API_KEY=
25-
2626
## Open Router (if used, required) ##
2727
OPENROUTER_API_KEY=
2828

@@ -33,7 +33,3 @@ OLLAMA_PORT=11434
3333
# if "true", automatically pull models from Ollama
3434
# if "false", you have to download manually
3535
OLLAMA_AUTO_PULL=true
36-
37-
## Additional Services (optional)
38-
SERPER_API_KEY=
39-
JINA_API_KEY=

0 commit comments

Comments
 (0)