Skip to main content

2-4: Create an account

Before testing, we'll need to create an account and then set it to the validator address.

Creating an account

To create an account, you can run the following command:

pocket accounts create
tip

Rather than creating a new account, you could also import an existing account. For details on importing an account, see the Pocket CLI docs.

Listing accounts

pocket accounts list

Setting the validator address

pocket accounts set-validator $VALIDATOR_ADDRESS

Confirm the validator address

 pocket accounts get-validator