Supra
Dompet resmi dari Supra.

SupraCLI Deep Dive: From Profiles to Deployments

November 18, 2025 - 2 min read

Getting Started

If you’ve ever tried to set up a blockchain environment and felt lost before even typing a command, you’re not alone.

That’s exactly why SupraCLI exists to make building on Supra simple and clear.

In this story, we’ll walk through everything from setting up profiles, funding your account, and deploying your first smart contract.

Profiles: Keep Things Organized

Without profiles, switching between accounts means a lot of copy-pasting and mistakes. Profiles keep things organized so you can move faster and avoid confusion.

# Create a new profile
supra profile new <PROFILE_NAME>

# List all profiles
supra profile -l

# Activate one
supra profile activate <PROFILE_NAME>

# Remove one
supra profile remove <PROFILE_NAME>

Each profile saves your wallet and setup so you can switch between them anytime without re-entering anything.

Accounts: Add Funds and Check Balance

A profile is only useful if it has funds. On Supra, your profile connects to your wallet so you can fund and check your balance in seconds.

# Add testnet tokens
supra move account fund-with-faucet --profile <PROFILE_NAME> --rpc-url https://rpc-testnet.supra.com

# Check balance
supra move account balance --profile <PROFILE_NAME> --rpc-url https://rpc-testnet.supra.com

It works like a digital ATM. Tokens are added directly to your wallet so you can deploy and run transactions right away.

Tools: Build and Deploy Smart Contracts

Once your account is ready, you can start building.

SupraCLI gives you everything you need to create, test, deploy, and interact with your contracts in one place.

# Create a new package
supra move tool init --package-dir /supra/move_workspace/exampleContract --name exampleContract

# Compile your contract
supra move tool compile --package-dir /supra/move_workspace/exampleContract

# Test before deploying
supra move tool test --package-dir /supra/move_workspace/exampleContract

# Deploy it on-chain
supra move tool publish --package-dir /supra/move_workspace/exampleContract --rpc-url https://rpc-testnet.supra.com

# Run or view a function
supra move tool run --function-id '<ADDRESS>::<MODULE_NAME>::<FUNCTION_NAME>' --args <ADD_ARGS> --rpc-url https://rpc-testnet.supra.com

supra move tool view --function-id '<ADDRESS>::<MODULE_NAME>::<FUNCTION_NAME>' --args <ADD_ARGS> --rpc-url https://rpc-testnet.supra.com

Everything happens in one place with simple commands that take you from idea to live contract.

Wrapping It Up

With profiles, accounts, and tools, SupraCLI gives you a full workflow to build on-chain from start to finish.

You can set up, fund, deploy, and test everything without leaving your terminal.

Try It Yourself

SupraCLI Docs

twitterlinkedinfacebookmail

RECENT POSTS

Dapatkan berita, wawasan, dan banyak lagi

Daftarkan diri Anda ke newsletter Supra untuk mendapatkan berita terbaru, pembaruan, wawasan industri, dan informasi lainnya.

PrivasiKetentuan PenggunaanPenggunaan Data Situs Web & CookiesPengungkapan BugKebijakan Privasi Informasi Biometrik

©2026 Supra | Entropy Foundation (Swiss: CHE.383.364.961). Seluruh Hak Cipta Dilindungi