πŸ“œPrompt Guide

Welcome to the Brian Prompt Engineering Guide!

This comprehensive guide aims to assist users with the necessary knowledge to craft prompts effectively for Brian. By understanding the principles outlined here, you will learn to formulate prompts that align with Brian's capabilities, ensuring optimal functionality and successful outcomes.

Brian’s AI capabilities consist of extracting all the attributes from the prompt, effectively extracting the user's intention, and building the desired transaction flow. The following table gives you an overview of all the supported actions on Brian.

Multiple-action prompts have the same rules as the single ones. You can mix different actions together (e.g. "swap 10 usdc to eth and renew vitalik.eth for 12 months") or write the same action multiple times (e.g. "swap 10 usdc to eth and swap 10 usdc to usdt"). The AI will extract your intent and build multiple transactions.

ActionDescriptionCapabilitiesEg. prompts

Swap

Swap any token through the LI. FI and ENSO solvers

  • Use a different address receiver

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Swap 1 usdc to weth

  • Swap 1 usdc to weth and use vitalik.eth as the receiver address

  • Swap 10 dollars of usdc to eth and send it to 0xabc...eet

  • Buy eth with 10 $usdc

  • Swap 50% of eth to dai and 50% to usdc

  • Swap all my dai to usdc

Bridge

Bridge any token through the LI. FI and ENSO solvers. *All the available chains on Brian are possible destination chains.

  • Specify "from chain" and "to chain" or only the destination chain

  • Use a different address receiver

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Bridge 1 usdc from arbitrum to ethereum

  • Bridge 1 eth to optimism

  • Bridge 1 usdc to zksync and use vitalik.eth as the receiver address

  • Bridge 10 dollars of usdc to arbitrum and send it to 0xabc...eet

  • Bridge 10 $usdc to ethereum and 10 $eth to arbitrum

  • Bridge 50% of eth to ethereum and 50% to optimism

  • Bridge all my dai to gnosis

Crosschain swap

Cross-chain swap any token through the LI. FI and ENSO solvers. *All the available chains on Brian are possible destination chains.

  • Specify "from chain" and "to chain" or only the destination chain

  • Use a different address receiver

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Bridge 1 usdc to eth from arbitrum to ethereum

  • Crosschain swap 1 eth to usdc to optimism

  • Make a crosschain swap of 1 usdc to usdt to zksync and use vitalik.eth as the receiver address

  • Crosschain swap 10 dollars of usdc to usdt to arbitrum and send it to 0xabc...eet

  • Crosschain swap 10 $usdc to eth to ethereum

  • Crosschain swap 50% of my eth to usdc ethereum and 50% to usdt to optimism

  • Crosschain swap all my dai to usdc to gnosis

Transfer

Transfer any token to an addres or ENS. *Always check the address associated to the ENS.

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Transfer 10 usdc to vitalik.eth

  • Send 3 $ of dai to 0xabc...e

  • Send 1 usdc to vitalik.eth and 5 dollars of eth to limone.eth

  • Send 10% of my eth to 0xabc.sef and 85% to limone.eth

  • Transfer all my usdc to orbulo.eth

Wrap

Wrap any native token.

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Wrap 1 eth

  • Wrap 100 dollars of matic on polygon

  • Wrap 100 $matic on polygon and 2 $bnb on the bsc

  • Wrap all my ftm

  • Wrap 50% of my eth

Unwrap

Unwrap any native token.

  • in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Unwrap 1 eth

  • Unwrap 100 dollars of matic on polygon

  • Unwrap 100 $matic on polygon and 2 $bnb on the bsc

  • Unwrap all my ftm

  • Unwrap 50% of my eth

Register ENS

Register an ENS and set it as primary address.

  • Register multiple ENS at once

  • Use ".eth" at the end of the name or only the name

  • For the duration use seconds, days, months, years*

  • For the name use text, numbers or symbols

  • Set the registered ENS as your primary address * Always check the conversation

  • Register vitalikinu.eth for 12 months

  • Register charlie.eth for 1 year and oscar.eth for 14 months

  • Register the following ens for 10 months: 123.eth and 1234.eth

  • Register 1_344.eth for 100 days

  • Register brianlovesens.eth for 10 days and set it as my primary address.

Renew ENS

Renew an ENS.

  • Renew multiple ENS at once

  • Use ".eth" at the end of the name or only the name

  • For the duration use seconds, days, months, years*

  • For the name use text, numbers or symbols * Always check the conversation

  • Renew vitalikinu.eth for 12 months

  • Renew charlie.eth for 1 year and oscar.eth for 14 months

  • Renew the following ens for 10 months: 123.eth and 1234.eth

  • Extend 1_344.eth for 100 days

  • Extend the brianlovesens.eth duration for 10 days

Check ENS availability, expiration, registrations and renewal cost.

Perform a series of operations with ENS

  • Check if an ENS is available or already registered

  • Check the ENS expiration

  • Check the registration/renewal costs of an ENS

  • Use ".eth" at the end of the name or only the name

  • For the name use text, numbers or symbols

  • Is limone.eth available?

  • When does vitalik.eth expire?

  • Tell me the registrations costs of the following ens: orbulo.eth, vitalik.eth, frankc.eth

  • When does the following ens expire: limone.eth, ethereum.eth, polygon.eth and 112233.eth

Resolve ENS <--> Address

ENS resolution is the process of mapping an address to an ENS and vice versa

  • Check what is the ENS associated to an address (only if the ENS is set as the primary name)

  • Check what is the address associated to an ENS (only if the ENS is set as the primary name)

  • What are the address associated to the following ENS: vitalik.eth, amir.eth, adele.eth and orbulo.eth

  • What are the ENS domains associated to the following addresses: 0xabc..eer, 0xacd..12e and 0xfcv..edf.

Deposit

Deposit ETH and other tokens into DeFi protocols

  • The protocol name must be specified

  • The token out can be not specified

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Use "all my"

  • Deposit all my eth into lido protocol on ethereum

  • Deposit half of my usdc on polygon on aave and deposit 75% of my eth on aave on arbitrum

  • Stake 1 eth into lido and 0.5 eth into rocket pool protocols

  • Deposit 100 dollars of weth into each: aave, gearbox, compound and frax finance

Withdraw

Withdraw ETH and other tokens from DeFi protocols

  • The protocol name must be specified

  • The token out can be not specified

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Withdraw 0.1 eth from lido protocol on ethereum

  • Withdraw half of my usdc on polygon on aave and withdraw 75% of my eth on aave on arbitrum

  • Unstake 1 eth from lido and 0.5 eth from rocket pool protocols

  • Withdraw 100 dollars of weth into each: aave, gearbox, compound and frax finance

Borrow

borrow tokens ETH from AAVE v3

  • The protocol name if not specified will be considered as AAVE v3

  • The token to borrow must specified

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Borrow 0.1 eth from aave on arbitrum

  • Borrow 100 usdc from aave on polygon

  • Borrow 10$ cbeth from aave on base

Repay

repay debt on AAVE v3

  • The protocol name if not specified will be considered as AAVE v3

  • The token of the debt to repay must specified

  • Express amount in "$" or "dollars"

  • Write the "$" close to the token name

  • Use percentage (eg. 25%, half of, 75%, 99%)

  • Repay 0.1 eth of my debt on aave on arbitrum

  • Repay half of my usdc debt on aave on arbitrum

  • Repay 10$ eth of my debt on aave on arbitrum

Check AAVE position parameters

check loan-to-value, health rate, liquidation threshold, borrowed amount, borrowable amount)

  • Check the user loan-to-value

  • Check the user health rate

  • Check the user liquidation threshold

  • Check the user total borroed amount

  • Check the user total amount available to borrow

  • What is my ltv on aave on arbitrum?

  • What is 0x..124 health factor on aave on polygon?

  • How much can i borrow right now on aave on base?

  • What is my position on aave on ethereum?

Last updated