# Smart Contract Account

A **smart contract account** is a special kind of account on the Vaulta blockchain that runs **code**, not just holds tokens.

While your personal Vaulta account is used to send, receive, and stake tokens, a smart contract account can **automate actions**, **manage assets**, or **power an entire app** — all without needing a person to manually approve every action.

## The differences between a user account and smart contract account

| Feature            | User Account                              | Smart Contract Account                                           |
| ------------------ | ----------------------------------------- | ---------------------------------------------------------------- |
| **Purpose**        | For individuals to hold and manage tokens | For apps, services, or protocols to run automated actions        |
| **Controlled By**  | A person with private keys                | Code (smart contract logic)                                      |
| **Actions**        | Sending tokens, staking, voting           | Runs app functions, swapping tokens, issuing NFTs, holding logic |
| **Code Attached?** | No                                        | Yes; executes smart contract functions                           |

## Who Creates Smart Contract Accounts?

Developers or projects deploy smart contracts to a Vaulta account when they want to:

* Launch a decentralized application (dApp)
* Automate certain blockchain functions
* Build tools that others can interact with directly on-chain

These accounts are typically **registered with a custom name** (like `vtokenvault`) and appear on block explorers just like any other account.

## Are Smart Contract Accounts Secure?

Smart contracts are secure only as long as the **code inside the contract is secure**. That’s why:

* Developers test and audit their contracts before launching
* Vaulta users should only interact with trusted, verified apps
* Transactions on smart contract accounts are **transparent** and viewable by anyone

Unlike regular accounts, smart contract accounts don’t need private keys — they respond to **coded instructions** and external triggers.

## How Do I Interact with a Smart Contract Account?

Most users interact with smart contract accounts through **dApps or wallets** — you don't need to send a command manually.

For example:

* When you swap tokens in a Vaulta dApp, you’re sending a transaction to a smart contract account that handles the trade.
* When you mint an NFT, a smart contract account creates and stores that digital asset.

## Takeaway

A smart contract account is like an app that lives on the blockchain. It holds rules, follows instructions, and runs without needing a person to push buttons. You use them every time you use a dApp — even if you don’t see them.

## Resources


---

# 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://vaulta.gitbook.io/vaulta-guides/accounts/vaulta-native-accounts/smart-contract-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.
