# Deployment

### Obtain LUMIA token from the Faucet[​](https://docs.astar.network/docs/build/EVM/first-contract/deploy-shibuya#obtain-sby-token-from-the-faucet) <a href="#obtain-sby-token-from-the-faucet" id="obtain-sby-token-from-the-faucet"></a>

To deploy a contract on Lumia chain, you will need to obtain some LUMIA tokens from the Faucet, which is explained [on the faucet page.](/build/build-environment/testnet-tokens.md)

Once successful, you will see some LUMIA tokens available within MetaMask, if not, double-check to ensure Lumia Testnet is selected as your current network.

### Deploy Contract on Lumia TestnNet <a href="#deploy-contract-on-shiden" id="deploy-contract-on-shiden"></a>

The last step will be to deploy a smart contract on Lumia TestNet.

### Token Contract

```solidity
// SPDX-License-Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.0.0
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";

contract Sportimex is ERC20, ERC20Permit {
    constructor() ERC20("Hello Lumia", "HelloLumia") ERC20Permit("HelloLumia") {
        _mint(msg.sender, 100000000 * 10 ** decimals());
    }
}

```

This contract will issue an `ERC20` token called `'Hello Lumia'`, with ticker `HelloLumia`, and a total supply of 100m using 18 decimals of precision with `ERC20Permits` implemented. You will be able to compile this contract using one of the deployment methods described in later sections.


---

# 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://docs.lumia.org/build/smartcontracts/deployment.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.
