Creating Accounts
This tutorial walks you through how to create and manage accounts on the VSL network using the vsl-cli
tool.
We assume you already have the CLI installed and are familiar with basic terminal usage. If you need to install it, follow the instructions in the Run Commands with the CLI guide.
Step 1: Enter REPL Mode
We recommend using REPL mode for tutorials and experimentation. It gives you a shell-like interface to run multiple commands:
This will start the interactive CLI in temporary configuration mode.
Step 2: Connect to a Network
You can either launch a local development node or connect to a remote one.
Option A: Launch a Local Node
This starts a local VSL node with a temporary database and a master account preloaded with tokens.
Option B: Use Remote Devnet
You can also check network health:
Step 3: Create Accounts
You can create an account using the commands below. In this case, create two accounts named alice and bob:
You can list all created accounts with:
Step 4: Fund Accounts
Use the master account to transfer native tokens:
Switch to Alice and check her balance:
Repeat for Bob:
Step 5: Use the Accounts
Set a default account for future commands:
You can check which account is currently active:
To get more details:
Step 6: Save or Export Accounts (Optional)
Export Alice’s private key to a file:
Later, you can re-import:
Cleanup (Optional)
If using a local setup and want to remove everything:
Next Steps
You’ve just created and funded accounts on the VSL network. From here, you can start working with claims, assets, and more.
Need help? Join the community on Discord
Last updated
Was this helpful?