An in-depth look at using our Factory to launch your project on SushiSwap with MISO
Hi! Welcome to a more detailed walkthrough of operating our MISO Factory. As you may know, our eventual goal with MISO is to create an entirely user-operated “Kitchen” — a safe, easy to follow model for building strong token launches. While our open mainnet release is still to come, we’ve been hard at work in the testnets. Open testing is currently available across our first selection of networks, namely:
- Ethereum (Kovan, Rinkeby, Goerli, Ropsten)
- BSC Testnet
- Matic Testnet
We’ve been working alongside our first batch of projects to continually refine and develop the UI of our MISO Factory, continuing to trial updates throughout our testnet offerings. Currently, testing of our Token and Market Factories is available at miso.sushi.com by simply changing your connected network (either with our handy Network Switcher, or by selecting an ETH testnet in your MetaMask).
Token Creation —
Our 3 step Token Factory takes all of the work out of token creation, while preparing all the necessary aspects for interacting further with the MISO contracts. Specifically, the inputs required for all 3 token types are shown below:
Simple. The MISO Token Factory only requires you input :
- Token Name
- Token Symbol or “ticker”
- Supply to be minted
For the purpose of the MISO Factory interactions we’ll be showing, this information is all that is needed — both our Market and Liquidity contracts will be filled by this token batch.
Of note is the slight difference in the input for our Mintable and Sushi tokens, Initial Supply as opposed to the Total Supply shown with a Fixed token selected.
Practically, they achieve the same result in the MISO factory — The amount you input will be minted and transferred to the connected wallet. However, both Mintable and Sushi tokens come with a DEFAULT_ADMIN_ROLE which will also be assigned to the wallet address using the Factory.
Further information about the interactions and controls possible can be found in our documentation.
Once you’re all set, clicking Deploy will deploy the contract to your chosen network — with any expected gas fees and associated wallet interactions and confirmation required, of course.
You will be taken to the Deployment page of the Token factory where you can review the details of your token, as well as see the details of your transaction such as your Transaction Hash.
Once your transaction is successful, you’ll be taken to the Result page, for a final review of your token creation — take this opportunity to add your new token to your MetaMask!
Markets —
First up, of course, will be deciding on the Market type you’ll want to be using for your launch. There are various pros and cons to each and our offerings are due to keep growing for a long time, so we’ll go into them in a different article. For the most part, the current Market options share many of the same inputs — though the way each auction plays out may change their importance in your set up and decision making.
The three options available for you to make your selection will govern the layout and inputs of the Market Factory pages to follow. For a fuller understanding of the differences between your options, please consult our documentation. Selecting a Market type and clicking next will take you to the SetUp page.
Regardless of the Market type selected, our MISO contracts need to know what they’re working with. For all auction types, the SetUp will need you to set:
- Auction Token
- Token Amount
When setting your Auction Token you will need to input your tokens contract address, or, you can search by Symbol or name through all the tokens deployed by in the MISO Token Factory.
The setting of your Token Amount, or the amount of tokens you wish to put up in your auction is a two part process. The total Token Balance in your wallet will be displayed to the left. You will need to confirm a Token Allowance (how many tokens you’d like to put up for auction) to allow your MetaMask to send funds to our MISO contracts. After confirming your Allowance within your wallet, you can set the amount up for sale and click Next to be taken to the Sale details page.
While the format of the Sale detail page will change depending on which Auction type you have selected, for the most part they share many of the same decisions and inputs. Head to our documentation for further info on each auction type but for brevity, we’ll be using a Dutch Auction in our example below:
For all Market Auctions, the Sale detail form will have four main sections. MISO will need you to decide:
- Payment Currency
- Fund Wallet
- Auction Settings
- Auction Start & End
These are all the settings needed for our auction smart contracts to conduct a successful decentralised auction — we’ll go further in to Lists and access controls later on.
When deciding the Payment Currency for your auction, MISO allows you to use any ERC-20 token as the exchange for your new project token. For simplicity, Ethereum as well as a collection of reputable USD stablecoins are selectable. Selecting Custom and inputting the token address will allow you to set your custom payment option.
The Fund Wallet relates to the payout address of the funds collected during your auction — you can click Use my account to set this as the currently connected wallet address.
As stated, Auction Settings will vary depending on the auction type selected. Regardless of your choice, Auction Settings is the area governing the minimum and maximum raise you wish to define the success of your auction. In the case of our Dutch Auction above the starting price will set your maximum raise and ending price will set the minimum raise required for a successful auction.
Finally, you will set your Auction Start & End by selecting or inputting a date and time for each within the calendar pop up. Times will be denoted in your local UTC timezone.
Once you’ve set everything up, click the Review button to be taken to a review of your Auction contract.
One final time to check, double and triple check everything is in order for your auction, then it’s time to click Deploy! You’ll be required to confirm the transaction in your Metamask and confirm, and be shown your transaction hash as you would expect.
Upon confirmation of your transaction, CONGRATULATIONS! You’ll be able to see your deployed auction contract in the Upcoming section of MISO with a countdown to your previously selected Start Date.