Create Your Own Pair

Instantiation by Contract Address

You can use the Terraport token factory contract.

  • The address on Terra Classic: terra1n75fgfc8clsssrm2k0fswgtzsvstdaah7la6sfu96szdu22xta0q57rqqr

The JSON message format is as follows:

{
  "create_pair": {
    "asset_infos": [
      {
        "token": {
          "contract_addr": "terra..."
        }
      },
      {
        "native_token": {
          "denom": "uluna"
        }
      }
    ]
  }
}

This is a JSON constructor of pair contract.

  • A token pair can be either, contract-based token, or terra-native token

    • asset_infos[x].token.contract_addr: Contract-basd token address is entered here.

    • asset_infos[x].native_token.denom: Terra native token denominator is entered here.

Then, you may execute the contract with the organized JSON above.

Last updated

Was this helpful?