BlinkAI - Blockchain Link/Wallet for AI

hello, i’ve got several questions:

  1. how do you ensure the wallet created by ai is safe ?
  2. does it mean it stored on the centralised database?
  3. so who’s handle the fee for transaction??
  4. and it seems i have no control on the wallet correct? so how do i transfer my asset later?

At the moment its a simple “Name”, “Description” and “Image”. The metadata is exposed as encoded Json (by tokenURI() method) by the smart contract. Image which is provided as “https://” will be uploaded to IPFS first, and stored into the NFT as CID.

Great questions! Let’s break it down.

  1. how do you ensure the wallet created by ai is safe ?

The idea is that upon creating the GPT inside Blink, it creates a wallet using Web3Auth API, and the key will be stored safely in Torus blockchain (MPC). Whenever its needed, Web3Auth API will be used.

The connection with Web3Auth API (JWT token) will be signed by a private key known to the server, stored in Azure Key Vault. Probably we can use the Azure Key Vault to sign, so the key won’t travel outside of the vault (this is not yet implemented).

  1. does it mean it stored on the centralised database?

Wallet keys are not stored centrally, but using MPC on Torus blockchain. But it is true that at the moment there is a secret for each GPT known by the centralized server to create the signer. An additional step, which was not implemented for this hackathon, would be that the user enters a passcode at the start of AI interaction or at the point of first engagement (asking it to sign something). This would add an additional layer of security.

  1. so who’s handle the fee for transaction??

Each developer needs to fund its GPT if needed. When creating a new GPT, choosing its capabilities and hitting ‘Save’, Blink creates a wallet for it using the above mentioned method. At this point the developer needs to also fund the GPT wallet.

If the developer forgets to do it the AI will notify “Hey, I have insufficient funds to complete the transaction”

  1. and it seems i have no control on the wallet correct? so how do i transfer my asset later?

Two things to note here. Remember the AI can also prepare transactions. When the AI prepares a transaction the user needs to execute it using his/her own private wallet (login with WalletConnect etc).
The developer can also btw configure that the AI can only prepare transactions, not execute. In this case the AI wallet does not even need to be funded.

Secondly, if the AI wallet is used to execute the transactions it will create assets, but usually immedately set the owner as well. For example, the mint method for the NFT contract accepts, as the last parameter, the owner. So even if the AI executes the transaction, it will set the users wallet as the owner (it will ask for the address). So at no point will it own the asset.

function mint(string calldata name,string calldata image,string calldata description,address owner)

is there reason why it is on torus blockchain?
Although it is MPC, if i remember it does still need additional security layers especially storing the key, blockchain is transparent in the end with layer of encryptions. As what safety more likely refer to the immutability (data cannot be altered or changed) and not the visibility ?

So the project actually could also work without AI ? because smart contract is predictable as you have prepared it, and simply just prepare set of instructions?

and then can just embed the GPT there for interaction or other bot-chat?

Unless the smart-contract is unpredictable from user, and using AI to analyse then it is reasonable for using AI, and using GPT wouldnt be enough too.

but anyway great thread, i can learn new stuff too.

btw taken from your challenges on devpost regarding of op codes solidity 0.8.20 compiler version, you can simply fix that by changing the evm version into paris

1 Like

The main ideas were to:

  • use AI to improve Web3 UX. Sure you could use the smart-contracts directly or design a new wallet. But AI can guide the users better (this is the core assumption), especially beginners or the general public.
  • Give GPTs (AI) new powers - for example enable payments.

Btw what other ways (instead of Torus) you would use for the security layers?

PS. thanks for the tip on compiler version!

A small diagram to fit Blink into one shot!

4 Likes

Got it, thanks. Will I be able to manage this NFT directly from the Blink interface, such as triggering basic functions with the ability to send NFT or modify URI?

1 Like

Absolutely, you should be able to tell the AI something like “I want to transfer the NFT with id 7 to a new address 0x0000…” for example.

The idea would be also to allow to mix and match contracts in the future, in the fashion of “mint an NFT and create an auction for it, with minimum price 1000BTT and period 7 days”. These contracts should all be compatible using basic interfaces (ERC721, ERC20 etc). Or “show me NFTs that have an auction ongoing”

2 Likes

Some more examples of what should be possible



2 Likes

An interesting post from Balaji, describing a future where apps are just AI APIs and people converse with AI that then contacts the APIs to get things done.

Really cool and exactly what Blink aims to be. We are on the verge of this transition.

Original tweet:
Balaji on X: “AI API Is multimodal AI the superapp of the West? The WeChat equivalent, except driven by text, voice, and camera rather than buttons and menus? Are apps dead? I don’t know if that’s right. I think apps endure and AI drives them. Every app just gets an “AI API” that…” / X (twitter.com)

3 Likes

Hello BlinkAI team! Your product is really innovative and could help to propel blockchain adoption. Unfortunately I don’t have a chatGPT pro account yet to try the dev side of it and could not find a way to test it from a user perspective either.

Is it possible for a non chatGPT Pro user to use your product? If yes, is it possible for you to create a demo site to test out?

From dev perspective… Is there a repo we can look to take Schema URL examples of your implementations? As I understood this is the heart of your product value. Correct me if I’m wrong.

Thank you and please keep on working on this, this is a great product and has lots of potential within BTTC and TRON ecosystem :slight_smile: :muscle:

Hei!

I have created a reference implementation of the chat here: ChatGPT - Blink AI Wallet (testnet). And yes indeed it requires the subscription.

The OpenAPI schema you can find here: https://www.blinkai.xyz/api/gpt/getschema. It is the same for all AI’s. Its important to set the authentication bearer in the header to use it.

1 Like

Hey guys, happy to announce that Blink now has its own token: BlinkAI Token (BLINK) Token Tracker | BTTCScan. An ERC-20 utility token launched on BTTC mainnet today.

The tokenomics for Blink will be crucial to tie everything together and make the project self-sustaining/profitable.

What is clear is that AI API usage would be metered and paid by the AI developer in BLINK tokens. There should also be incentives for users to use AI wallets and let AI conduct transactions. I was thinking perhaps bounties for conducted/prepared rentals, escrows, exchanges, payments etc.

Let me know what you think and please send any suggestions for the tokenomics.

10 000 BLINK token giveaway for tokenomics ideas for Blink AI

Giving out 10 000 BLINK tokens for suggestions on how to craft the tokenomics (max 1000 per user) for BLINK token. How would the tokenomics of any AI API look like? Let your imagination run wild!

Reminder, here is Balaji talking about dynamics of AI APIs: x.com

4 Likes

Would like to make it extremely frictionless for the end-user - the one using AI to get things done. Goal is to increase adoption and making it easy for people to try out new things. So I actually am thinking of the opposite - give out bounties or bonuses for using these services. Perhaps in the future, and in specific cases (like arbitrator fees for escrow), this would work.

As for developers - the ones creating AI apps - they would pay for the operations and capabilities. Different plans is a great idea actually. Could do for example 2k api calls for free if you book calls in bulk. E.g. 10k call package with 2k calls for free. And under “calls” I mainly mean letting the AI prepare or conduct transactions. Pricing get (retrievals) probably would be free or priced lower.

1 Like

Goal is to figure the tokenomics out for mainnet launch on the 28th June

10k BLINK giveaway ongoing. Brainstorm ideas for tokenomics for AI APIs and get 1k BLINK!

1 Like

Amazing project!!
lets support each other:
please check out CodeHive @ thecodehive.online

hoping to see you in voting round… :blush::blush::raised_hands:

@Nweke-nature1.com, @Stounag8, @ines_valerie, @Prince-Onscolo, @aradhye.s, @maksb, @dellwatson, @chKos, @elluminaZK

Thanks for all the nice words and great questions. :pray:

If you appreciate the effort and see the future in AI wallet APIs like Blink don’t forget to vote for BlinkAI at HackaTRON S6 - It’s voting time. Let’s go, community!!

4 Likes

Thank you for the mentioning I am very sure that I already vote for you, goodluck

1 Like

Congratulations for making it to the judging and voting period ! Anyway to test your project without a subscription of chatgpt?