Generate Validator Account

# Generate Validator Account

Each validator must have a NEAR account and an appchain account. The NEAR account is used to do the OCT staking, and the appchain account is used to set session keys and manage appchain assets.

To create a NEAR account, please refer to Creating a NEAR Account (opens new window)

Appchain is developed based on the Substrate, so the ways to generate an appchain account is the same as other Sustrate-based chains (e.g. Polkadot). This section introduces 3 options to generate the appchain account. Regardless of which option you choose, be sure to record all of the outputs as you will need them later.

# Option 1: Polkadot{.js} Browser Plugin


The Polkadot{.js} Browser Plugin is a simple tool for managing accounts in a browser extension which can sign extrinsics.

Generate your Appchain account with the Polkadot{.js} Browser Plugin (opens new window).

# Option 2: Subkey

This option is ADVANCED and MOST SECURE.

Subkey is a command-line utility included with Substrate that generates or restores Substrate keys. It is recommended for technically advanced users who are comfortable with the command line and compiling Rust code, and it is not recommended for general users.

For detailed build and usage instructions of subkey, please refer to the subkey readme (opens new window).

# Option 3: PolkadotJS-Apps

To create an Appchain account by following a few steps:

# 1. Get the RPC Endpoint of the Appchain.

Go to the Octopus Apps (Mainnet (opens new window) and Testnet (opens new window)), select Appchains Tab -> the corresponding appchain. You can get the RPC Endpoint of the appchain from the appchain page.


# 2. Set the Polkadot Apps

Go to the Polkadot Apps (opens new window), you should set the custom rpc with the RPC Endpoint, click the Switch, and then you could connect to the Appchain network.


# 3. Create the Appchain account

After connecting to the network, you can create the new account.


Disclaimer: Webapp and Extension are Separate

  • If you followed option 1 or 3 to create the account, you must also load it into your browser plugin. This can be done with your mnemonic or private key json file, detailed here*
Last Updated: 4/17/2022, 12:29:32 PM