[Connections](/docs/connections/index.md)

# Connect Solana wallet

Continue with your agent, or follow the steps below in your own Terminal.

```text
Follow https://gofin.sh/docs/connections/solana/ to help me connect my Solana wallet to GoFin. Verify the connection without trading or moving funds.
```

<a name="prepare"></a>

<a name="prepare-title"></a>

## 1. Prepare your connection

Start with [GoFin installed](/docs/index.md#installation) and a working [local agent setup](/docs/agents/index.md). The agent can inspect public help; you create credentials and complete protected prompts yourself.

Copy your public, case-sensitive base58 wallet address. Replace `YOUR_SOLANA_ADDRESS` below with it. The read-only route needs no secret and uses Solana mainnet-beta.

For optional signing access, GoFin accepts a conventional 64-byte keypair encoded as base58 or a JSON array of 64 bytes through its protected prompt. Use your wallet’s documented account-key export, not a seed phrase, and confirm the derived public address before approving. Do not paste a keypair into your agent’s terminal or chat.

<a name="enroll"></a>

<a name="enroll-title"></a>

## 2. Add it to GoFin

Check the installed requirements first:

```sh
gofin connections add --help
```

In Apple Terminal or your own macOS system OpenSSH session, run the command below. Names such as `sol-main` are example local aliases; choose one you recognize. Replace any `YOUR_…` placeholder with the indicated public value before running.

```sh
gofin connections add --provider solana --name sol-main --credential-type read_only --address YOUR_SOLANA_ADDRESS
```

Follow GoFin’s hidden credential prompts where required. Review the resolved identity and the read-only checks GoFin actually reports, then approve saving the connection. Secrets do not belong in flags, environment variables, JSON, screenshots or your agent’s terminal. Enrollment is a configuration change; it moves no funds and grants no future financial authority.

Jupiter swaps and other supported Solana workflows use this wallet connection. A Jupiter service key is a separate connection and cannot sign for a wallet. Public addresses and mints are case-sensitive; retain their exact identities.

<a name="verify"></a>

<a name="verify-title"></a>

## 3. Verify without moving funds

After enrollment, check local metadata and service health:

```sh
gofin connections list
gofin doctor
```

Confirm the expected local name and identity. These checks do not by themselves establish live provider access. Ask your agent to discover a supported read for this connection, inspect its explanation and schema, and report the actual result with available timestamps. A failed read is not a zero balance or proof that the account is empty.

Check mainnet-beta, case-sensitive addresses and RPC availability. A key export of a different size or encoding is not interchangeable with a supported 64-byte keypair.

<a name="maintain"></a>

<a name="maintain-title"></a>

## Manage credentials later

Use `gofin connections update --help` to discover the protected replacement flow for this provider. Check [rotation and removal guidance](/docs/connections/index.md#maintain) before changing an active connection. Revoking a venue key and removing a GoFin connection are separate actions; neither cancels outstanding venue activity.

<a name="sources"></a>

<a name="sources-title"></a>

## Sources and verification

For command and enrollment details, see the [GoFin onboarding documentation](https://raw.githubusercontent.com/LimeChain/gofin-cli/main/docs/onboarding.md). GoFin onboarding instructions reviewed on 18 October 2026.

Verification scope: documented commands and public instructions. No new provider credentials were created and no live enrollment, native approval or account-read result is claimed here.
