# Minting AMPL Tranches

You can mint AMPL tranches with raw **AMPL**. If you have **Wrapped AMPL (wAMPL)** then you can unwrap it [here](https://wrap.ampleforth.org/).

### Instructions

#### 1. Find the smart contract address for the AMPL bond you wish to mint tranche tokens for.

#### 2. Open our [WamplLoanRouter](https://etherscan.io/address/0x06111c76430d31c640228609f334c207547faab8) smart contract on Etherscan, ideally in a new tab or window.

#### 3. Select the "Contract" tab.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2F61s8U9l7p3Gc9Exuw7JL%2FAMPL%201.jpg?alt=media&#x26;token=a085d806-7c15-4680-a566-f45318c9b005" alt=""><figcaption></figcaption></figure>

#### 4. Select the "Write Contract" button.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2F2R43Hb9UWItzVsGd6M9T%2FAMPL%202.jpg?alt=media&#x26;token=6365c608-be94-4f05-8784-b291f493fa1b" alt=""><figcaption></figcaption></figure>

#### 5. Use the "Connect to Web3" button to connect your Web3 wallet.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2FYk4lmf8b2M3pmOKrzUXH%2FAMPL%203.jpg?alt=media&#x26;token=cdfd0d49-4e78-447f-ac86-d00bbafb360c" alt=""><figcaption></figcaption></figure>

#### 6. Expand "1. WrapAndBorrow".

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2F132OKbtWSEwaqbmL4EnK%2FAMPL%204.jpg?alt=media&#x26;token=85e310c3-5354-414b-b619-e1cfe84290b9" alt=""><figcaption></figcaption></figure>

#### 7. For the "amplAmount (uint256)" field, enter the amount of AMPL you would like to collateralize.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2FCFBAAzDASXsndohXuEwx%2FAMPL%205.jpg?alt=media&#x26;token=11d29a98-8f1e-49f0-906a-f090ccedfae0" alt=""><figcaption></figcaption></figure>

AMPL's contract has a 9-decimal point value. This means that 9 digits come after the decimal point. When inputting an amount ensure that you add enough digits to meet this requirement.

*Example: 4.25 AMPL would be formatted as 4250000000*

#### 8. Enter the smart contract address for your desired bond from Step 1, into the "bond (address)" field.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2FPzhP4AuUDxgGyoZUUc5L%2FAMPL%206.jpg?alt=media&#x26;token=eeb34163-f9c6-43c7-ac31-90418c06d646" alt=""><figcaption></figcaption></figure>

#### 9. Enter the smart contract address for Tether (USDT) into the "currency (address)" field.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2FXtTBJiueJvQedKj9fSnq%2FAMPL%207.jpg?alt=media&#x26;token=ece2905f-1b6a-4e2c-9ce5-c736371635cd" alt=""><figcaption></figcaption></figure>

**Tether USD (USDT):** 0xdAC17F958D2ee523a2206206994597C13D831ec7

#### 10. Enter "0,0,0" for the "sales (uint256\[])" field.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2F3gIm3TQpcIHAPAD0VmRi%2FAMPL%208.jpg?alt=media&#x26;token=b4b759c1-07e5-4df3-90bf-d51283e2626d" alt=""><figcaption></figcaption></figure>

#### 11. Enter "0" for the "minOutput" field.

<figure><img src="https://2960531599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkOcHevGAkolQq9Te-Z%2Fuploads%2FBAx4wPyw5XPcKivdGP7G%2FAMPL%209.jpg?alt=media&#x26;token=8eec57b7-55d6-4366-857c-e6978cfba29d" alt=""><figcaption></figcaption></figure>

#### 12. Review your entries for accuracy before proceeding.

#### 13. Press the "Write" button and finish the transaction process in your Web3 wallet.

If you receive a gas estimation warning due to the possibility of the transaction failing, please review your entries again for accuracy. If you have trouble with this tutorial please reach out in our [Discord](https://discord.gg/ZfQv7HCnYq) for help.

#### 14. A successful transaction should yield a change in the balance of your Web3 wallet. Some tokens may need to be imported to be seen. We suggest checking your wallet address on Etherscan to confirm the minting of tranche tokens to your wallet.
