Guide

1. Authentication (optional)

By default, Native will pass the api_key in the header of every request for you to authenticate that the request is coming from Native. You can get the api_key by reaching out to the Native team.

Furthermore, Native allows for a flexible authentication method. If you have a different authentication method, reach out to our team so we can build a specialized interface for you.

2. Setting Up Pool

Currently, Native User Interface does not support the creation of Market Maker Pool. However, you can reach out to the Native team so we can create the pool and transfer the ownership to you. You just need to provide the following information:

  1. Pool Name: The name you'd like to give your pool.

  2. Chain and list of pairs to quote and the corresponding token addresses: The chain and the pairs to quote, that are allowed tokens to be traded in the pool

  3. Owner address: the owner of the pool where we will transfer the ownership to

  4. Treasury address: the address where the fund is stored. Ideally, this should be the same as the owner address

  5. Signer address: The key you'll use to sign quotes off-chain for your market maker. Put the public key (address) here and ensure the private key is stored securely. You'll need to be able to programmatically sign quotes with the private key later on (in the signQuote API).

After the pool is created, Native team will reach out to you with an API key and the pool address.

To fund the market maker pool, you will need an External Account (EoA or Smart Contract) that needs to give token allowance to the pool. Note that this account address must be the same as the treasury address specified in the pool creation. With this method, you do not need to lock funds into a pool and still have access to all the assets.

3. Two different ways to integrate with Native

We offer market makers two different ways to integrate with us. You may choose to integrate with us via REST API or WebSocket depending on your preferences.

Last updated