Hooks
Create your own hooks to use on the Launchpad.
Last updated
Create your own hooks to use on the Launchpad.
Last updated
Every token launches with a hook. If no hook is specified it uses the default hook which gives 0% trading fees to Bonsai NFT holders (anyone with 100k $BONSAI since it is a DN404 token). If you are a hook developer
In order for your hook to be eligible it must have a 1.5% trading fee that is overriden to 0% when you are holding a Bonsai NFT. .
Make the beforeSwap
flag true
Include any other features you would like, publish the contract as an open source project and deploy to Base and verify with basescan.
We reserve the right to refuse whitelisting to any hook we deem to be malicious or to have a negative impact on the ecosystem.
Override the beforeSwap
function to get the fee value from the Default Settings contract. Default Settings is deployed to on Base mainnet. Be aware that the balance of Bonsai NFTs is checked based on tx.origin
. While not ideal Uniswap has not provided a way to get the user's address inside of a hook.
Fill out the form on to apply to have you hook whitelisted. Once we've verified it it will become available on the website for anyone to use.