# Setting up a Staking Proxy Account

### Creditcoin CLI <a href="#creditcoin-cli" id="creditcoin-cli"></a>

`creditcoin` comes bundled with the Creditcoin Docker image and provides the required tools to add, remove and manage Proxy Accounts through its `proxy` subcommand.

```
Usage: cli proxy [options] [command]

Commands for managing the proxy system

Options:
  -h, --help        display help for command

Commands:
  add [options]     Add a new proxy
  list [options]    View a list of proxies and their types
  remove [options]  Remove all instances of a proxy
  help [command]    display help for command
```

**Adding proxies**

To add a proxy account that can sign extrinsics on behalf of the main account, run the `proxy add` command with the `--proxy` option with the address of the account you wish to add and specify the permissions this account will have with the `--type flag`. Type can be either `All`, `Staking` or `NonTransfer`.

```
$ creditcoin proxy add --proxy "<proxy account address>" --type Staking
```

**Listing proxies**

After adding an account as a proxy, running the `proxy list` command should return the recently added proxy and any others that have been added in the past.

```
$ creditcoin proxy list
```

**Removing proxies**

Proxies can be removed in a similar way using the `proxy remove` command.

```
$ creditcoin proxy remove --proxy "<proxy-account-address>"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.creditcoin.org/wallets/advanced/proxy-accounts/setting-up-a-staking-proxy-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
