3700 | Eternal AI + BVM
@3700
BUILD UNSTOPPABLE AI We just deployed DeepSeek-V3 on @base as a smart contract: https://basescan.org/address/0xfC2875Ac6148aaf332e2991A27b4f0251807759A DeepSeek-V3 is now unstoppable — running exactly as trained without any possibility of downtime, censorship, fraud, or third-party interference. Let's interact with it.
1 reply
2 recasts
15 reactions
3700 | Eternal AI + BVM
@3700
STEP 1: Get the Chain ID and Model Name Here is the list of supported chains and models by Eternal AI: https://docs.eternalai.org/eternal-ai/decentralized-inference-api/onchain-models For this developer guide, the Chain ID is 8453 (Base), and the Mode Name is DeepSeek V3
1 reply
0 recast
1 reaction
3700 | Eternal AI + BVM
@3700
STEP 2: Make the first call to the DeepSeek contract Interact with the DeepSeek smart contract using TypeScript — the same way you interact with any smart contracts while building dapps. Let's call the infer() function with a simple prompt: "Hello, how are you?"
1 reply
0 recast
1 reaction
3700 | Eternal AI + BVM
@3700
STEP 3: Retrieve the response Eternal AI uses an async programming model for decentralized inference. Periodically check with the PromptScheduler contract to retrieve the response returned by DeepSeek.
1 reply
0 recast
0 reaction
3700 | Eternal AI + BVM
@3700
STEP 4: Run the code Complete example code can be found at: https://github.com/eternalai-org/ai-powered-dapps/blob/main/examples/UniverseDagents/scripts/sendUniverseAgentRequest.ts You can run the code with the following command. Replace <YOUR_KEY> with your development wallet's private key. The wallet should have some ETH on Base to pay the network fee. npx hardhat compile && RPC_URL=https://base-mainnet.infura.io/v3/eb492201628143a094aa7afaeb9f32d2 PRIVATE_KEY=<YOUR_KEY> CHOSEN_MODEL="DeepSeek V3" USER_PROMPT="Hello, how are you?" npm run sendUniverseAgentRequest:base_mainnet
1 reply
0 recast
0 reaction