Nebula AI .NET Integration
The last piece of the puzzle required to create .NET apps and games leveraging a blockchain-powered AI assistant or NPC that also has the power to fully execute transactions.
The best way to understand is to look at examples.
We'll prepare some context for the AI - here, we'll generate a basic PrivateKeyWallet
and upgrade it to a SmartWallet
on Sepolia.
A one liner creates a Nebula session.
You can Chat with Nebula. The Chat method accepts any IThirdwebWallet
as an optional parameter, context will automatically be updated.
You may also pass it smart contract context.
You can have a full on conversation with it with our Chat override accepting multiple messages.
Chatting is cool, but what if I just want it to do things and stop talking so much?
You can Execute transactions directly with a simple prompt.
Similarly, Execute can take in multiple messages.