AI integration is moving fast, and the accessibility to develop AI is becoming easier by the day. The decentralized AI (DeAI) space has also picked up momentum AI integration is moving fast, and the accessibility to develop AI is becoming easier by the day. The decentralized AI (DeAI) space has also picked up momentum

Do You Vibe Code? A DeAI Primer By Oasis

2026/03/18 16:43
7 min read
For feedback or concerns regarding this content, please contact us at crypto.news@mexc.com

AI integration is moving fast, and the accessibility to develop AI is becoming easier by the day. The decentralized AI (DeAI) space has also picked up momentum as the new-gen web3 solutions all come with an AI edge. So, if you are a web3 developer, it is no longer imperative that you be a Solidity expert or know the ins and outs of building on-chain applications. Vibe coding is your friend.

In this guide, I will show you new tools and help you learn how to build with AI on Oasis, with privacy by default. We will be using an llms.txt file, a Context7 MCP integration, for the purpose of this tutorial.

AI context

AI is prone to forgetting, and its way of remembering needs some understanding. To understand AI memory and context, check out this Oasis Academy course.

Suffice it to say, large language models (LLMs) need context to respond to any prompts, especially when you are asking them to build something. So, patchy memory or outdated context might result in a code that looks correct on a quick review but fails in practice. There are two possible solutions so that the AI tool can directly access Oasis docs to correctly consult instead of hallucinating, and I will outline them both.

  • llms.txt
  • Model context protocol (MCP)

llms.txt

For anyone familiar with AI, this is a standardized file format. It functions like a sitemap and is specifically designed for AI so that it can access a project’s documentation as a structured index. It provides a brief description of the documentation and links to detailed markdown files for the AI to find and read.

For our purpose, we will be referring to these files:

  1. https://docs.oasis.io/llms.txt — a curated index with page titles, descriptions, and URLs
  2. https://docs.oasis.io/llms-full.txt — the complete documentation content consolidated in one file

If the AI supports project context, such as Cursor’s docs feature or a CLAUDE.md file, good. Alternatively, copy-pasting the URLs in the LLM chat directly works too.

The usefulness of having two versions is dictated by AI memory and context limits. llms.txt is designed for a quick overview, and llms-full.txt is when you need the AI to know everything, unabridged.

MCP

MCP is an open standard. If you don’t use MCP, then AI will only read the prompt submitted at face value. Using MCP not only gives AI structured access to all external context — documentation, codebases, tools, and runtime information- but also enables the AI to refer to them on demand and query external tools if and when needed.

As mentioned earlier, Oasis documentation is indexed on Context7, an MCP server that serves docs to AI coding assistants. The library ID is llmstxt/oasis_io_llms_txt.

Setting Up

I will show here Cursor and Claude as primary tools, as they are the most popular among vibe coders.

Using Cursor

The first step is to add the following snippet to your .cursor/mcp.json:
json

{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}

This will prompt Cursor to connect to Context7. So, now when you generate code, you will have full access to the Oasis documentation.
Pro tip: It is advisable to add a rule to your Cursor settings so that the AI always consults the Oasis docs. It can be phrased like this — Always use Context7 MCP with library ID llmstxt/oasis_io_llms_txt for Oasis documentation reference.

Using Claude

Run:
bash

claude mcp add --transport http context7 https://mcp.context7.com/mcp

The next step is to verify configuration is correctly done:
bash

claude mcp list

When you see context7 listed, you are good to go.
Pro tip: The same rule applies for your project’s CLAUDE.md — Always use Context7 MCP with library ID llmstxt/oasis_io_llms_txt for Oasis documentation reference.

Other AI tools

Even though Cursor and Claude are popular choices, you may be using other AI tools such as VS Code, JetBrains, Windsurf, Zed, etc. Context7 supports 40+ clients, and you can refer to the full list here to check the setup instructions specific to your tool of choice.

Before We Start

If you are set up, there are still a few things you will need before starting to vibe code.

  • Node.js: This is required for Hardhat. You can check if your terminal has it installed by running node -v. It will show a version number, if it is already available. If not, download the LTS version from https://nodejs.org/en, install it, then reopen your terminal and recheck to confirm successful installation.
  • Wallet: Since we are working with DeAI, you will need a wallet with its private key.
    If using CLI, refer to this: https://docs.oasis.io/build/tools/cli/wallet. The best approach is to create a new MetaMask wallet.
  • Testnet tokens: You will need testnet tokens, too, in the wallet to proceed with your vibe coding. First, you need to add the Sapphire testnet to your MetaMask wallet. You can then request free TEST tokens from https://faucet.testnet.oasis.io/. Remember to select Sapphire from the network dropdown and provide the wallet address created above.

Example: Deploying a Confidential Smart Contract

I will use a basic example here to demonstrate how this will all work. Once you have connected your Integrated Development Environment (IDE) with the Oasis MCP, start a fresh project. Let’s use this prompt:

Create a confidential smart contract on Sapphire with Hardhat. It should store a secret message that only the owner can set. Anyone can submit a guess, but the actual secret should never be visible on-chain.

Your chosen AI tool will immediately pull the documentation and perform the following steps seamlessly:

  • Identify the correct Hardhat config.
  • Infer that the contract state on Sapphire is private by default.
  • Generate a working contract with a full project structure, including a deploy script, interaction examples, and tests.

Note that Claude will ask for permission before running commands. So, you might want to select “don’t ask again” if you prefer.
There will also be a .env.example file generated in the process. You need to copy it to .env and add your wallet’s private key.

cp .env.example .env

For those developers who are new to the decentralized setup, the private key can be found on your MetaMask wallet account with these steps: click the three dots next to the account name → account details → reveal private keys → enter password.
This private key will have to be added to the.env file as PRIVATE_KEY=0x…, and then deployed:
bash

npm run deploy:testnet

When you see a contract address returned in your terminal, it confirms the successful deployment of a confidential smart contract live on the testnet, using just the prompt mentioned at the start of this segment.

You can further test the confidentiality of the contract when you try calling eth_getStorageAt on your contract at Oasis Explorer.

As Oasis enables verifiable privacy and confidential computation, this is the gateway to developing private applications. You can start exploring the possibilities at https://oasis.net/ and start vibe coding to build the next-gen dApps. With your AI coding tool connected to the docs, it will be the model doing all the work.

Sources referred: https://docs.oasis.io/build/tools/llms/
Help needed? Ask the dev team: https://oasis.io/discord

Originally published at https://dev.to on March 18, 2026.


Do You Vibe Code? A DeAI Primer By Oasis was originally published in Coinmonks on Medium, where people are continuing the conversation by highlighting and responding to this story.

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact crypto.news@mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Big News: First U.S. Spot XRP and DOGE ETF by Rex-Osprey Officially Launches: Details

Big News: First U.S. Spot XRP and DOGE ETF by Rex-Osprey Officially Launches: Details

In a landmark development for digital asset investors, REX-Osprey, a collaboration between REX Shares and Osprey Funds, has rolled out the first-ever U.S.-listed exchange-traded funds (ETFs) offering direct spot exposure to Dogecoin (DOGE) and XRP. According to a press release on Businessnewswire, the new products, trading under tickers DOJE and XRPR on the Cboe exchange, mark a significant step in bringing two of the most recognized cryptocurrencies into regulated investment vehicles. Dogecoin Gets Its First ETF The launch of DOJE represents a historic milestone as the first Dogecoin spot ETF in the United States. Once regarded as a meme coin driven by online culture and celebrity endorsements, Dogecoin has since grown into one of the top cryptocurrencies by market capitalization, supported by a highly active global community. Also Read: Massive Breakout Imminent? ‘XRP is Now Where ETH Was in 2017 Right Before Explosion’ By structuring DOGE under the 1940 Act fund framework, REX-Osprey is making the asset more accessible to traditional investors who prefer trading through established brokerage accounts rather than crypto exchanges. Analysts note that this could broaden institutional interest in DOGE, especially as regulatory-compliant exposure options expand. XRP ETF Brings Utility-Focused Crypto Into Spotlight Alongside DOJE, the XRPR ETF provides exposure to XRP, the digital asset powering Ripple’s payments network. XRP has long been associated with fast, low-cost cross-border transactions, a use case that has attracted growing attention from both banks and payment providers. The XRPR fund will hold most of its assets directly in spot XRP, with the remainder invested in XRP-backed exchange-traded products. This hybrid structure aims to provide investors with a liquid and straightforward way to gain exposure to an asset that continues to be at the center of conversations about the future of international payments. Expanding a Growing ETF Lineup The new DOGE and XRP ETFs follow the July debut of the REX-Osprey SOL + Staking ETF (SSK), which became the first U.S.-listed ETF to combine spot Solana exposure with on-chain staking rewards. That fund has already surpassed $275 million in assets under management and recently converted to a Regulated Investment Company (RIC) structure, boosting tax efficiency for investors while keeping its staking benefits intact. According to Greg King, CEO of REX Financial and Osprey Funds, the launch of DOJE and XRPR underscores the firm’s ambition to pioneer regulated investment pathways for digital assets. “ETFs have always been about access,” King said in a statement. “The digital asset revolution is accelerating, and to deliver exposure to leading tokens like Dogecoin and XRP within the protection of the U.S. ETF framework is something we are proud to bring to the market.” What This Means for Crypto Adoption Market watchers suggest that the arrival of DOGE and XRP ETFs could broaden crypto exposure in retirement portfolios, wealth management products, and institutional trading desks. For Dogecoin, this marks a shift from meme-driven volatility to potentially more structured investment flows. For XRP, the ETF comes at a time when analysts, including those at Morgan Stanley, have speculated on its potential to capture a share of the $150 trillion cross-border payments market currently dominated by SWIFT. With these launches, REX-Osprey continues to carve out a niche as one of the leading firms bridging crypto-native assets with the regulated ETF space, setting the stage for broader institutional adoption in the coming years. Also Read: Egrag Crypto: XRP Could be Around $6 or $7 by Mid-November Based on this Analysis The post Big News: First U.S. Spot XRP and DOGE ETF by Rex-Osprey Officially Launches: Details appeared first on 36Crypto.
Share
Coinstats2025/09/18 21:40
Stripe and Paradigm’s Tempo mainnet goes live for machine payments

Stripe and Paradigm’s Tempo mainnet goes live for machine payments

Stripe and Paradigm launch Tempo’s mainnet and the Machine Payment Protocol, targeting high-speed, stablecoin-based payments for AI agents and global enterprises
Share
Crypto.news2026/03/18 21:43
Pi Network Update: PiRC-101 Proposal Could Preserve MacroPi Value

Pi Network Update: PiRC-101 Proposal Could Preserve MacroPi Value

Pi Network Update: PiRC-101 Proposal Could Preserve MacroPi Value The Pi Network community has received a potentially significant development with the introduc
Share
Hokanews2026/03/18 20:52