CW 20 Config
The CW 20 configuration file is used to deploy a CW20 contract. CW20 is a fungible token standard on the SEI CosmWasm chain.
It doesnt work with Lighthouse mint ui and Lighthouse Core. It will only mint from the contract itself.
$ lighthouse init project cw20 <name>
<name>
: The name of the token.
The command will generate a json file with the following structure:
{
"chain": "wasm",
"collection_type": "cw20",
"name": "<name>",
"symbol": "<symbol>",
"decimals": "6",
"initial_balances": [
{
"address": "",
"amount": "1000000000000000"
}
],
"mint": {
"minter": "",
"cap": "1000000000000000"
},
"marketing": {
"project": "<name>",
"description": "",
"marketing": "",
"logo": {
"url": ""
}
}
}
Fields
chain
- The chain you want to deploy the CW20 contract to. Only available on the SEI CosmWasm chain.
collection_type
- type of the collection. In this case, it is cw20
.
name
- Name of the token.
symbol
- Symbol of the token.
decimals
- Number of decimals.
initial_balances
- Initial balances of the token.
address
- Address of the sei wallet.amount
- Amount of the token. (scaled bydecimals
)
mint
- Mint configuration.
minter
- Minter sei address.cap
- Cap of the minter. (scaled bydecimals
)
marketing
- Marketing configuration.
project
- Project name.description
- Description of the project.marketing
- Marketing information.logo
- Logo information.url
- URL of the logo.