Bookmark

uAgent's Setup

fund_agent_if_low

def fund_agent_if_low(wallet_address: str)

Checks the agent's wallet balance and adds funds if it's below the registration fee.

Arguments:

  • wallet_address str - The wallet address of the agent.

Returns:

None

register_agent_with_mailbox

def register_agent_with_mailbox(agent: Agent, email: str)

Registers the agent on a mailbox server using the provided email.

Arguments:

  • agent Agent - The agent object to be registered.
  • email str - The email address associated with the agent.

Returns:

None

Was this page helpful?

Bookmark