3700 | Eternal AI + BVM pfp
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 pfp
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 pfp
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 pfp
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 pfp
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

3700 | Eternal AI + BVM pfp
3700 | Eternal AI + BVM
@3700
STEP 5: Review the onchain prompt transaction Because DeepSeek-V3 is a smart contract, every interaction with it is onchain on @base. Let's examine the prompt tx on BaseScan. You can verify that it runs on DeepSeek v3 and see its content. https://basescan.org/tx/0x641c26eff85f9486dace2d4ac0558b3c8da576b9e3e79773bb94a817fb8db45c
1 reply
0 recast
0 reaction

3700 | Eternal AI + BVM pfp
3700 | Eternal AI + BVM
@3700
STEP 6: Verify the onchain response transaction Now, let's look at the response transaction on BaseScan. You can see the actual response content. Everything is onchain and verifiable. https://basescan.org/tx/0x133b94f00d31908c4b88b8d1b2602a1241bac7a7ee744c04a248ea3e6f47fc75
1 reply
0 recast
0 reaction

3700 | Eternal AI + BVM pfp
3700 | Eternal AI + BVM
@3700
Congrats! You've finished making the first call to the DeepSeek-V3 smart contract on @base. It's quite a historical moment. We can't wait to see what dapps you'll build with Onchain DeepSeek.
1 reply
0 recast
1 reaction

Elie pfp
Elie
@elie
Is the response in a new transaction that the AI pays for?
0 reply
0 recast
0 reaction