finally something thats much easier to follow than others. it would be grat if you could dive into the tokenomics structure of things. Capped, Burn option, further mint option etc etc etc. SUper cool mate really appreciate it
Hello, I thank you for this complete video, but I don't know why, I really can't understand this pool... could you enlighten me please? I would like to put a token on sale with a starting price of 0.00001 (with a starting price of $50 of liquidity for an offer of 9B Token) and then with each transaction it increases in value at the same time as the liquidity increases, however when I do this on the v3 pool it wants me to pay millions to trade and if I increase the starting price people wouldn't be able to trade since they would have to receive more tokens than I would. on sale.. help 🤪
I don't fully understand the issue but you should be able to go on a testnet and experiment to get it right. One gotcha is making sure you have the tokens the right way around so if you are setting up a token/USDC pool there is a button to switch price between USDC per token and tokens per USDC. The way I would do this is setup 3 positions. One buy side with the $50 setting the price and the range just inside it so there is a tiny amount of tokens. Then do a small full range position. Then set up another wide range position just outside of the current price with the 9b tokens and $0 USD. So you end up with one buy wall, one really wide sell wall and a full range position which is useful if you want to move the others and prevents some security issues. Hope that helps.
@@JamesBachini thank you for your answer, I was able to solve the problem by doing tests, however I end up with a marketcap of 2.49B on dexscreener because my token is sold at 24cents while I wanted to start it at 0.0000001 Lol, I don't I don't know where this figure comes from or how to lower the price of the token, especially since there is no liquidity, it's terrible
Hi James, great video , what is the best way to start a token with a low budget would it be the money from the presale to put that on the liquidity pool?
Yes you need to create demand for the token some how. if you can do that then you can use presales to seed the liquidity pool. Then when traders purchase the token they'll be adding more of the base asset which adds liquidity too.
Whoever sets up the pool will deposit a seed amount of tokens and base assets. Once deployed anyone can do the same to earn trading fees on their holdings
Depends on a couple of factors 1. Transaction costs to deploy contracts. Expensive on Ethereum but cheaper on layer twos and subchains like BSC or Avax. 2. How much liquidity you want to seed the pool with. More liquidity means less slippage for traders making it more appealing.
Hey james, just liked and subscribed 👍 QUICK QUESTION - is it possible to create an ERC-20 token and call it “Ethereum” and have the ticker symbol “ETH” ? Would appreciate your quick response. Thanks 🙏
Thanks! Couldn't you coded and deployed from Remix without Truffle and other stuff? Seems its added a level of complexity with Truffle etc. which I haven't seen on other tuts. Also, the more ETH i have to start the liq pook the better I guess? So there is no way around needing ETH to start a liq pool? Thanks.
You could yes, probably need to make a new video as very few devs are using truffle in 2023. The more Eth or Stablecoins you use in the liquidity pool the more of a buffer you can create for token holders to sell into. Price moves more through slippage with less liquidity generally although Uniswap's v3 concentrated liquidity does help here
Hi I am interested, once you managed to add liquidity to uniswap and launched the token ect, if you launched it via the rooster test network would that mean that all users would need to buy with rooster eth, or can they use normal main net eth to buy the token, despite being listed on the valueless test network
You would normally only use a test network to experiment with and make sure everything works. In theory users could use a faucet to get free ropsten Eth but your token would always be worthless. For that reason it's best to do a test deployment on ropsten first (just for the devs) and then once everything works deploy it to mainnet and tell users.
Hi James, im rrally struggling. I keep watching and listening, but I think I need some assistance with this. Is there any chance of a call I could set up with you? I would be super thankful.
thanks a lot for the great content 2 thing that i need to know about Circulating Supply , is that means the coin/token owner sent tokens/coins from wallet to the token address so it can be bought ?
Not exactly. The token address is where the smart contract for the token lives. So when we send tokens from Alice to Bob. Alice signs a transaction interacting with a function of that smart contract. Circulating supply means all the tokens that are currently available and in distribution. So if a founder has a vested bag that is locked until 2030 then it would count towards total supply but not circulating supply because those tokens aren't available yet.
@@JamesBachini Hi James, thanks for this, is the supply on pancake determined by how much you pool? say if i pooled 80 of 100 tokens then 20% is still in my metamask wallet as not in circulation ? and if i did put 80-100 on pancake in a pool and there were 1billion with 10bnb liquidity, surely a few bots could buy the whole supply and thus render the project dead? any advice is massively appreciated bro
@@Si-Toecutter any funds locked or in developer wallets generally aren't counted towards circulating supply. Coinmarketcap is kind of the defacto authority on what is and isn't counted and they have a whole sheet of terms.
No right answer to this as it depends on various factors. What do you want the start price to be? Will there be any initial selling pressure? Do you want liquidity to "advertise" the pool on screeners like DexTools? What's your budget for the project and what percentage of that should be allocated to liquidity? $500 is probably fine, try it on testnet first
so I build my token, paired it with Eth and added liquidity on Uniswap. How do I make money? trade is going on, people buy your token vs ETH so in you LP amount of Eth goes up and your token get sold and transferred to buyers address, right? where one as Toke builder makes money?
You would probably need to do it within the smart contract for the token. Safemoon and a few other projects have done similar things and have open source code you can look at. I don't think there will be a platform or a way to do it without modifying the code.
Hi James if we are pairing our token for the first time, example we have 80mil tokens when we add liquidity for the first time to list the token should we release all our tokens at once? is there an advantage to releasing all of them at once ? My question is i have 80mil token but i would like to set my token price at 0.1 cent , how would i do that ?
There's no right and wrong way to do tokenomics. I'd suggest keeping the pool pretty balanced and adding more over time as the token is purchased. So total cap would be 80k USD, you could potentially put 40m tokens and 10 Eth or something like that if the funding is available. Leave the rest in treasury. Whatever you decide to do I'd recommend publishing the details and being open and transparent with your community so they can see what you are doing and why which will build trust and credibility.
hello sir!! got a question?? if the liquidity is locked why am not still not able to sell the token? are the developers still able to lock the investor address so they cannot sell?
what happens if someone decided to buy all the tokens that you just placed in the liquidity pool (in the example you showed 2.06 ETH worth of tokens)? Transactions stop?
The price would go up incrementally making it more expensive to buy larger amounts of tokens. If you were launching your own tojen you would probably want to add a broad liquidity position so the price just keeps going up and they can't sell out. For traders slippage become a problem on low liquidity pools.
You are so much help. I only have one question: If i have 420sextillion as the supply. how would i determine the price? or is the price determined by the amounth of eth that i deposit in the liquidity pool?
Hi James amazing video. I plan to launch my own coin but still confused about total supply vs liquidity on pancake, allocation of pool keeping or not the tokens etc. There anyway if you a moment I can dm you about it ;-) really appreciate it mate
man Ive got the same issues frying my brain, I dont get it on pancake, all the coins are in my address but do i put them all in a pool for 10bnb or just a percentage? and if so do i lock my liquidity? if you are any wiser 3 weeks later please reply
@@jasongodgeon9951 Thank you. The channel is still kinda niche as it's mainly focused on developers in the space. For bigger numbers I'd probably have to make it more mainstream and focus more on trading and project reviews... and improve the production quality and my pronunciation substantially :)
Everyone should keep an eye on the price of $BSCS, currently it has a very good price to invest, especially investors in staking- farming should consider
You can do whatever you want with the tokens. Some can be added to a liquidity pool, some could be vested for investors or team, some could be used in airdrops and liquidity incentives etc. It's up to the the to devise a good token distribution model.
There's a few differences, main ones being you can set a fee structure for the pool of either 0.05%, 0.3% and 1%. The other major thing is concentrated liquidity positions which is a bit hard to explain in a reply but you basically set a liquidity position within a price range.
Awesome video. I just have a few questions. I had a developer make me a token coin. He gave me the Sol files. I already have the name, and I put it at 130 Billion. At this point Im confused what would be the next steps?
Deploy it using remix or truffle to a testnet (play money). Check everything works and familiarise yourself with moving funds around and executing contract functions. Then when ready deploy it to mainnet.
@@cy666er it's hard to explain in a short message but probably best to start with the docs on the erc20 standard to understand how the functions work. Then maybe try truffle console to move some funds around on testnet.
Hello, I got all the way to the part where you list your token on uniswap. I connected my metamask, made sure I had my own tokens in my assets tab, set the price and fees, etc. When I click preview, it shows the price and when I click add I see a pop-up with a loading wheel saying "waiting for confirmation from your wallet" which only stays up for a split second before reverting to the preview window. This happens over and over. Any idea what's up?
They won't list them on the UI but you can set up pools and use the token contract address. If you can get a token listed on coingecko then you can use the coingecko token list with Uniswap too
im trying to enter the whole amount of my tokens in v2 but it does not let me do so.I want to put for example 1eth and all my tokens, but when I enter max token supply it surpasses the amount of eth i want to provide. For some reason I cant control both amounts simultaneously. why is that?
Is the pool already set up? If so you are adding liquidity to both sides of the pool at current pricing which is why when you adjust the amount of one token it moves the other.
@@JamesBachini tested out 👍 My idea is the following, tell me what do you think: A content creator creates a token which the audience can use(buy on LP of UNI) to help the creator, and with that token the audience can participate on a DAO with the permission to create and vote on porposals influencing the future content and decisions on the channel. Is that possible to make with anargon right now? That's my idea, THANKS!
@@JoaoRangelSilvaPsicologia it's going to be difficult but not impossible to deploy a simple token. Maybe look at something like Openzeppelins token wizard and watch some tutorials on how to deploy using remix. docs.openzeppelin.com/contracts/4.x/wizard remix.ethereum.org
I guess Safemoon is a good example. It just redirects a percentage on any transfers. There are some more in depth articles here but nothing beats just reading through the code and playing with it on a testnet. academy.moralis.io/blog/exploring-the-safemoon-protocol
I think it'll be something to do with the path to the import on the local machine. Check the file location and try something like import "openzeppelin-solidity/contracts/token/ERC20/ERC20PresetMinterPauser.sol"; That's if you are doing it from a terminal with truffle or hardhat. If you are using remix instead then you need to use @openzeppelin/whatever I think.
Most I've ever used is 18 decimals which is also kind of standard but don't think this is the maximum. Would want to test some arithmetic functions and check for integer issues if going higher
Great video! I just have a problem on the last step, when creating the pair. After having set the starting price, price range and the deposit amounts, there is a preview button (new version of uniswap) that is greyed out and there is no APPROVE button. Do you know why?
@@JamesBachini hey sir i want ask you what i can do to setting all my tokens without pay too much to liquidity pool on uniswap and i want set my price and list in uniswap, my project its like shiba inu
@@Yassinbenchardoud You can create one sided liquidity. So in theory you could add 1 USDC and 1 million of your own tokens and then people could only buy them but there would be no liquidity until someone starts buying. The best way to test the concentrated liquidity positions in UniV3 is to setup a test token on Goerli testnet and experiment
Great video...thank you! Just 1 quick question: Are there any significant drawbacks of pairing my token with DAI? I thought I heard somewhere that you shouldnt use stablecoin in a liquidity pool.
You certainly can pair it with dai however anyone with Eth would need to do a double swap to get dai to purchase your token. Eth is probably the most commonly used base asset on Ethereum because everyone has it to pay transaction fees. Stablecoins are a bit more segregated but USDT, USDC, DAI are widely used too. The final thing to bare in mind is that altcoins tend to move with ethereum so impermanent loss might be lower on an Eth base asset compared to DAI for liquidity providers.
@@JamesBachini thanks for the insight James! I would love to use eth to make it simple/cheaper for everyone. The problem is I cant list a large percentage of my tokens with eth without making my project next to worthless.Do you think it be better to list < 1% of my total supply with eth, or 10% with DAI? Also, is the initial market cap of the token as important as I think it is?
@@bouncypickle7621 I think dai is fine, most traders and people in the blockchain space will know what it is and how to use it. I would say it's not as important as getting early traction and interest in whatever you are building. You want as much liquidity as possible to start with but you can build it up if you have people actively buying and trading your token
@@JamesBachini Could you create a liquidity pool for any two tokens? Like what if I created two tokens. Could I put them in a liquidity pool with each other?
Because truffle and hardhat are just a bit more powerful and are better for doing things like unit tests and working on multiple contracts that interact with each other. If I was going to deploy a quick ercwp token I'd probably use remix. For something more complex I'd probably use a offline text editor like vscode and then test and migrate using truffle or hardhat
Can I use remix because truffle is so complicated installing command etc I hate it can I just use remix and by using remix can I get mint and burn function??
@jamesbachini I am using remix but after deploying the contract I saw the mint burn and many other functions but when I refresh the browser all functions are gone but the code is still there am I doing something wrong??
@@CryptowithTSC from memory is there an expansion tab next to a contract address on the left. If not I think there's an option to load an external contract using the ABI from the source code. Is there a contractAt button or something like that? Provide the deployed contract address and you should be able to interact with it again
Good job James! Keep up the good work! U got a new follower ;) Question, I am doing a BNP-20 token right now more or less the same process. But there is one thing I need to understand. Lets say that I call my token "Token". In the liquidity pool I put 1 BNB and lets say that I lock initial 60%, How will that effect trading and what would be change if I put 100000 BNB in the pool, this shortterm and long term?
So I guess you'll be using pancake swap which is a fork of Uni v2 I believe. If you add 1 BnB and however many tokens then when someone buys or sells some it's going to have a more major effect on the price because there's less liquidity in the pool. With 100000 BnB then there's more to trade against and traders will experience less slippage etc. With regards to locking up tokens, do you mean like vesting them? This might affect your circulating supply and therefore market cap on sites like coinmarketcap/coingecko.
Wow, thank you for such quick response! Yes, you are correct, pancake swap. I understand. Locked liquidity I mean that tokens will be: “the pool token’s movement is restricted by a time-based function. This means that once the restriction is set, they cannot be moved or redeemed until the pre-selected time has passed” or forever in a non-owned contract, often a lot of 00000 in the address. This due to what I have read to create a trust for traders that the creator won’t dump all the liquidity and leave traders behind with 0 possibilities to trade, squid token I think did this. But okey, let’s say that I don’t have that pay upfront cash to bring 10000 BNB to create the liquidity, smother payments, less slippage etc. How can the pool increase and how? Thing is that I have a crypto-homepage where I got a lot of traffic and nice community, so I think there is a possibility to bring some traders quick at launch -> will than 1 BNB for let’s say 1.000.000.000 “Token” be okey? Sorry if I am unclear, I just starting to learn. Thank you in advance,
@@simonrosell3946 1 bnb to 1 billion tokens is going to value your token quite low and small buys in BNB terms will affect the price significantly. As traders buy it they will be adding BnB to the pool and removing tokens. This means it will balance out eventually but price will be highly volatile to start with.
amazing video! Exactly what I was looking. Can you please show us how to use these in a smart contract where if someone performs an action they get some of these tokens? Action could be as simple as clicking a button ten times and they get some tokens.
So I like to use openzeppellins safeERC20.sol interface and then the code is token.safeTransfer(address,amount); in solidity. Should be plenty of example code for this on stack overflow and GitHub.
The key is to create demand. If your token has perceived value then people will buy and sell it which creates fees for liquidity providers. The more value and demand you can generate the more activity there will be on the AMM.
If you are doing full range liquidity on v2 then your token will be worth about $300 for the entire supply initially. As people buy it they'll add BnB to the other side of the pool and price will go up. Slippage might be an issue and you may get price impact warnings on Uniswap because of the thin liquidity. Try it on testnet first
Wait. So I create a token with 100 supply if I provided 10 tokens into liquidity on uniswap and set a price couldn’t I just sell the other 90 tokens off at whatever price I set x-)
When you set up a liquidty pool you provide two assets i.e. your token and Eth. So you might provide 10 of your toke s and one eth. As you sell the other 90 the token price will go towards zero until theres barely any Eth left in the pool. So you can't sell an unlimited amount and get back any more than the Eth you put into the pool.
@@JamesBachini sorry James, far too many questions from me here: so in reference to this, how does a token make any profit? the value is tied to the pool and each time a token is brought the pool increases and the value goes up? so it would be best to buy your own token (say 10% of the pool you just created, eg where you supplied 80% at 10ETH) and then the gains are made from that 10% u buy as the value increases rather than say the 20% that remained in your wallet when the pool was created?
@@Si-Toecutter to make USD money you would need to sell your tokens in to the liquidity pool as other traders are buying them. In practice many projects agree OTC terms with VCs to prevent negative price impact of selling their own tokens.
The token icon isn't linked to the contract code. Often when you submit a new token to 3rd party websites like coinmarketcap and coingecko there's a option in the form for the logo
The amount of liquidity in the pool and with V3 the concentration of that liquidity. A $100 order into a $1m tvl pool won't move the price but if the pool only has $1000 of assets in it then the balance of those assets will move more and be reflected in the price
Hey, How are you? Could you check your Email from me when you get the chance? I was looking to see if you could assist me in having a coin created for my artist development company.
finally something thats much easier to follow than others. it would be grat if you could dive into the tokenomics structure of things. Capped, Burn option, further mint option etc etc etc. SUper cool mate really appreciate it
Thank you! Will have a think about some a tokenomics video 👍
Thanks. It was really helpful!
Hello, I thank you for this complete video, but I don't know why, I really can't understand this pool...
could you enlighten me please? I would like to put a token on sale with a starting price of 0.00001 (with a starting price of $50 of liquidity for an offer of 9B Token) and then with each transaction it increases in value at the same time as the liquidity increases, however when I do this on the v3 pool it wants me to pay millions to trade and if I increase the starting price people wouldn't be able to trade since they would have to receive more tokens than I would. on sale..
help 🤪
I don't fully understand the issue but you should be able to go on a testnet and experiment to get it right. One gotcha is making sure you have the tokens the right way around so if you are setting up a token/USDC pool there is a button to switch price between USDC per token and tokens per USDC.
The way I would do this is setup 3 positions. One buy side with the $50 setting the price and the range just inside it so there is a tiny amount of tokens. Then do a small full range position. Then set up another wide range position just outside of the current price with the 9b tokens and $0 USD.
So you end up with one buy wall, one really wide sell wall and a full range position which is useful if you want to move the others and prevents some security issues.
Hope that helps.
@@JamesBachini thank you for your answer, I was able to solve the problem by doing tests, however I end up with a marketcap of 2.49B on dexscreener because my token is sold at 24cents while I wanted to start it at 0.0000001 Lol, I don't I don't know where this figure comes from or how to lower the price of the token, especially since there is no liquidity, it's terrible
Great info, Where do people buy your token from, uniswap or the contract address? Or both? Thanks 👍
Generally someone would go to Uniswap and then enter the token contract address to buy it
Hi James, great video , what is the best way to start a token with a low budget would it be the money from the presale to put that on the liquidity pool?
Yes you need to create demand for the token some how. if you can do that then you can use presales to seed the liquidity pool. Then when traders purchase the token they'll be adding more of the base asset which adds liquidity too.
the liquidity pool uses ur token balance for people to buy ?
Whoever sets up the pool will deposit a seed amount of tokens and base assets. Once deployed anyone can do the same to earn trading fees on their holdings
thanks man, like the video
just gave a like, great walkthrough. How much in total would this cost?
Depends on a couple of factors
1. Transaction costs to deploy contracts. Expensive on Ethereum but cheaper on layer twos and subchains like BSC or Avax.
2. How much liquidity you want to seed the pool with. More liquidity means less slippage for traders making it more appealing.
Hey james, just liked and subscribed 👍 QUICK QUESTION - is it possible to create an ERC-20 token and call it “Ethereum” and have the ticker symbol “ETH” ? Would appreciate your quick response. Thanks 🙏
Yeah there's nothing stopping you. Might confuse people a bit though as it's the same name and ticker as the native asset
Thank you very much for your sharing. It mean a lots to me. I was not clear with the token listing before, and now i knew every details of it. Thanks.
Thanks! Couldn't you coded and deployed from Remix without Truffle and other stuff? Seems its added a level of complexity with Truffle etc. which I haven't seen on other tuts. Also, the more ETH i have to start the liq pook the better I guess? So there is no way around needing ETH to start a liq pool? Thanks.
You could yes, probably need to make a new video as very few devs are using truffle in 2023. The more Eth or Stablecoins you use in the liquidity pool the more of a buffer you can create for token holders to sell into. Price moves more through slippage with less liquidity generally although Uniswap's v3 concentrated liquidity does help here
Hello, as of now, it seems that Uniswap cannot provide liquidity on the testnet
Goerli is depreciated, try Sepolia testnet. More info here support.uniswap.org/hc/en-us/articles/14580495154445-Testnets-on-Uniswap
@@JamesBachini I checked it out. It no longer supports test net tokens. It just doesn't show up. Is there an alternative? Thanks
Were you later able to make a swap with testnet
Hi I am interested, once you managed to add liquidity to uniswap and launched the token ect, if you launched it via the rooster test network would that mean that all users would need to buy with rooster eth, or can they use normal main net eth to buy the token, despite being listed on the valueless test network
ROPSTEN TEST NETWORK*
You would normally only use a test network to experiment with and make sure everything works. In theory users could use a faucet to get free ropsten Eth but your token would always be worthless. For that reason it's best to do a test deployment on ropsten first (just for the devs) and then once everything works deploy it to mainnet and tell users.
Thanks for this great tutorial man.
A quick question: How can I get my pool address?
You could use a block explorer and check the transaction that initialised the pool or do a swap and take a look at that tx in etherscan etc
@@JamesBachini got it, thanks
Hi James, im rrally struggling. I keep watching and listening, but I think I need some assistance with this. Is there any chance of a call I could set up with you? I would be super thankful.
Sure, email me your details (email address is on my site) and I can get on a call around 7.30 UTC
thanks a lot for the great content
2 thing that i need to know about Circulating Supply , is that means the coin/token owner sent tokens/coins from wallet to the token address so it can be bought ?
Not exactly. The token address is where the smart contract for the token lives. So when we send tokens from Alice to Bob. Alice signs a transaction interacting with a function of that smart contract.
Circulating supply means all the tokens that are currently available and in distribution. So if a founder has a vested bag that is locked until 2030 then it would count towards total supply but not circulating supply because those tokens aren't available yet.
@@JamesBachini Hi James, thanks for this, is the supply on pancake determined by how much you pool? say if i pooled 80 of 100 tokens then 20% is still in my metamask wallet as not in circulation ? and if i did put 80-100 on pancake in a pool and there were 1billion with 10bnb liquidity, surely a few bots could buy the whole supply and thus render the project dead? any advice is massively appreciated bro
@@Si-Toecutter any funds locked or in developer wallets generally aren't counted towards circulating supply. Coinmarketcap is kind of the defacto authority on what is and isn't counted and they have a whole sheet of terms.
How much money should I add as liquidity when I add liquidity pool? It's $500 enough?
No right answer to this as it depends on various factors. What do you want the start price to be? Will there be any initial selling pressure? Do you want liquidity to "advertise" the pool on screeners like DexTools? What's your budget for the project and what percentage of that should be allocated to liquidity?
$500 is probably fine, try it on testnet first
so I build my token, paired it with Eth and added liquidity on Uniswap. How do I make money? trade is going on, people buy your token vs ETH so in you LP amount of Eth goes up and your token get sold and transferred to buyers address, right? where one as Toke builder makes money?
You could do a private token sale or release tokens into the liquidity pool in line with a public vesting schedule for founder/team tokens
@@JamesBachini Thanks a lot for the guidance
Great video! Is there a platform I can use to launch my token for eth and then have the eth directed to the uni swap liquidity pool?
You would probably need to do it within the smart contract for the token. Safemoon and a few other projects have done similar things and have open source code you can look at. I don't think there will be a platform or a way to do it without modifying the code.
Hi James if we are pairing our token for the first time, example we have 80mil tokens when we add liquidity for the first time to list the token should we release all our tokens at once? is there an advantage to releasing all of them at once ? My question is i have 80mil token but i would like to set my token price at 0.1 cent , how would i do that ?
There's no right and wrong way to do tokenomics. I'd suggest keeping the pool pretty balanced and adding more over time as the token is purchased. So total cap would be 80k USD, you could potentially put 40m tokens and 10 Eth or something like that if the funding is available. Leave the rest in treasury. Whatever you decide to do I'd recommend publishing the details and being open and transparent with your community so they can see what you are doing and why which will build trust and credibility.
@@JamesBachini Really appreciate your response and help.
hello sir!! got a question?? if the liquidity is locked why am not still not able to sell the token? are the developers still able to lock the investor address so they cannot sell?
yes they can
what happens if someone decided to buy all the tokens that you just placed in the liquidity pool (in the example you showed 2.06 ETH worth of tokens)? Transactions stop?
The price would go up incrementally making it more expensive to buy larger amounts of tokens. If you were launching your own tojen you would probably want to add a broad liquidity position so the price just keeps going up and they can't sell out. For traders slippage become a problem on low liquidity pools.
hi. what editor did you use in this video? thanks
Davinci Resolve
You are so much help. I only have one question:
If i have 420sextillion as the supply. how would i determine the price? or is the price determined by the amounth of eth that i deposit in the liquidity pool?
Add 1000 USD of Eth to the pool and 1000 USD of your token at whatever you want to set the price at relative to the USD.
@@JamesBachini thank you 👍
Hi James amazing video. I plan to launch my own coin but still confused about total supply vs liquidity on pancake, allocation of pool keeping or not the tokens etc. There anyway if you a moment I can dm you about it ;-) really appreciate it mate
Yeah DM on twitter @james_bachini or email is in the TH-cam about section
man Ive got the same issues frying my brain, I dont get it on pancake, all the coins are in my address but do i put them all in a pool for 10bnb or just a percentage? and if so do i lock my liquidity? if you are any wiser 3 weeks later please reply
@@Si-Toecutter put 10bnb worth of your tokens so the pool is balanced. Try it out on testnet first to experiment and get a feel for it
Awesome video, just one question, if I create my own token on the main net, would I be able to swap it for ETH ?
Only if someone else wants to swap Eth for your token. There needs to be someone else on the other side of the trade.
Thank you, I learned a lot from your videos , you should really market yourself more , you will have millions of subscribers
@@jasongodgeon9951 Thank you. The channel is still kinda niche as it's mainly focused on developers in the space. For bigger numbers I'd probably have to make it more mainstream and focus more on trading and project reviews... and improve the production quality and my pronunciation substantially :)
hows is creating and deploying a liquidity pool beneficial ? Do i earn anything by deploying my own liquidity pool ?
It makes the tokens available. So to buy tokens on Uniswap there needs to be a liquidity pool for users to trade in to
Everyone should keep an eye on the price of $BSCS, currently it has a very good price to invest, especially investors in staking- farming should consider
Just a question. Please notice me. Since there are unliquidated MYT 99490, what should happen to them?
Should it remain untouched and not used for other purposes other than adding it onto liquidity pool with additional amount of its pair in the future?
You can do whatever you want with the tokens. Some can be added to a liquidity pool, some could be vested for investors or team, some could be used in airdrops and liquidity incentives etc. It's up to the the to devise a good token distribution model.
What's the difference with creating a new pool vs V2 liquidity create a pair ?
There's a few differences, main ones being you can set a fee structure for the pool of either 0.05%, 0.3% and 1%. The other major thing is concentrated liquidity positions which is a bit hard to explain in a reply but you basically set a liquidity position within a price range.
We’re does the money earned from the liquidity pool go, I did not see you put an address on where to collect the funds
A liquidity pool doesn't earn money. It just lets users trade one digital asset for another
Awesome video. I just have a few questions. I had a developer make me a token coin. He gave me the Sol files. I already have the name, and I put it at 130 Billion. At this point Im confused what would be the next steps?
Deploy it using remix or truffle to a testnet (play money). Check everything works and familiarise yourself with moving funds around and executing contract functions. Then when ready deploy it to mainnet.
@@JamesBachini could you somehow help me with learning how to execute contract functions? im fairly new to this
@@cy666er it's hard to explain in a short message but probably best to start with the docs on the erc20 standard to understand how the functions work. Then maybe try truffle console to move some funds around on testnet.
This is Great video hope someday I create my own token.
Try it on testnet, no downside
Nice
Hello, I got all the way to the part where you list your token on uniswap. I connected my metamask, made sure I had my own tokens in my assets tab, set the price and fees, etc. When I click preview, it shows the price and when I click add I see a pop-up with a loading wheel saying "waiting for confirmation from your wallet" which only stays up for a split second before reverting to the preview window. This happens over and over. Any idea what's up?
Weird, sounds like metamask is playing up. Try clearing Uniswaps browser history and then restarting the computer and having another go
Is it possible to list security tokens and other ERC variations on uniswap?
They won't list them on the UI but you can set up pools and use the token contract address. If you can get a token listed on coingecko then you can use the coingecko token list with Uniswap too
im trying to enter the whole amount of my tokens in v2 but it does not let me do so.I want to put for example 1eth and all my tokens, but when I enter max token supply it surpasses the amount of eth i want to provide. For some reason I cant control both amounts simultaneously. why is that?
Is the pool already set up? If so you are adding liquidity to both sides of the pool at current pricing which is why when you adjust the amount of one token it moves the other.
What chair do you use?
I think it's just an IKEA office chair
Muchas gracias.
Is this still possible? It doesn't appear the "create pool" option right now
Yes should still work although the code is a little outdated now
@@JamesBachini tested out 👍
My idea is the following, tell me what do you think:
A content creator creates a token which the audience can use(buy on LP of UNI) to help the creator, and with that token the audience can participate on a DAO with the permission to create and vote on porposals influencing the future content and decisions on the channel.
Is that possible to make with anargon right now? That's my idea, THANKS!
Yes absolutely, similar structure to a standard governance token. Plenty of daos with open source contracts to check out and get inspiration from
@@JamesBachini Is it possible to do without knowing how to code? Because it's my situation 😅😅
@@JoaoRangelSilvaPsicologia it's going to be difficult but not impossible to deploy a simple token. Maybe look at something like Openzeppelins token wizard and watch some tutorials on how to deploy using remix.
docs.openzeppelin.com/contracts/4.x/wizard
remix.ethereum.org
Any chance you can do a full walk through of a token contract that has taxes and explain how it works?
I guess Safemoon is a good example. It just redirects a percentage on any transfers. There are some more in depth articles here but nothing beats just reading through the code and playing with it on a testnet.
academy.moralis.io/blog/exploring-the-safemoon-protocol
Question James - I'm getting File import callback not supported when I try to import ERC20PresetMinterPauser, any advice on how to resolve this?
I think it'll be something to do with the path to the import on the local machine. Check the file location and try something like
import "openzeppelin-solidity/contracts/token/ERC20/ERC20PresetMinterPauser.sol";
That's if you are doing it from a terminal with truffle or hardhat. If you are using remix instead then you need to use @openzeppelin/whatever I think.
Change the branch from master to releasev4.7.1 in ur terminal after u clone the repo. the master branch doesnt have ERC20PresetMinterPauser
what is the maximum decimal we can keep while creating ERC 20 token
Most I've ever used is 18 decimals which is also kind of standard but don't think this is the maximum. Would want to test some arithmetic functions and check for integer issues if going higher
Why didn't you add the full supply? Can you add the full supply if your money is limited?
You can just mint the entire supply to a single address if you want and do anything else you want to do with the tokens manually via metamask
Great video!
I just have a problem on the last step, when creating the pair.
After having set the starting price, price range and the deposit amounts, there is a preview button (new version of uniswap) that is greyed out and there is no APPROVE button. Do you know why?
Um can only think of obvious stuff you've probably already tried.
Make sure wallets connected
Tokens in wallet
Eth in wallet for fees
Refresh browser
@@JamesBachini hey sir i want ask you what i can do to setting all my tokens without pay too much to liquidity pool on uniswap and i want set my price and list in uniswap, my project its like shiba inu
@@Yassinbenchardoud You can create one sided liquidity. So in theory you could add 1 USDC and 1 million of your own tokens and then people could only buy them but there would be no liquidity until someone starts buying. The best way to test the concentrated liquidity positions in UniV3 is to setup a test token on Goerli testnet and experiment
Great video...thank you! Just 1 quick question: Are there any significant drawbacks of pairing my token with DAI? I thought I heard somewhere that you shouldnt use stablecoin in a liquidity pool.
You certainly can pair it with dai however anyone with Eth would need to do a double swap to get dai to purchase your token. Eth is probably the most commonly used base asset on Ethereum because everyone has it to pay transaction fees. Stablecoins are a bit more segregated but USDT, USDC, DAI are widely used too. The final thing to bare in mind is that altcoins tend to move with ethereum so impermanent loss might be lower on an Eth base asset compared to DAI for liquidity providers.
@@JamesBachini thanks for the insight James! I would love to use eth to make it simple/cheaper for everyone. The problem is I cant list a large percentage of my tokens with eth without making my project next to worthless.Do you think it be better to list < 1% of my total supply with eth, or 10% with DAI? Also, is the initial market cap of the token as important as I think it is?
@@bouncypickle7621 I think dai is fine, most traders and people in the blockchain space will know what it is and how to use it. I would say it's not as important as getting early traction and interest in whatever you are building. You want as much liquidity as possible to start with but you can build it up if you have people actively buying and trading your token
@@JamesBachini thank you!!!!
@@JamesBachini Could you create a liquidity pool for any two tokens? Like what if I created two tokens. Could I put them in a liquidity pool with each other?
Why use truffle who you can totally skip it and use remix to deploy it on the mainnet ?
Because truffle and hardhat are just a bit more powerful and are better for doing things like unit tests and working on multiple contracts that interact with each other.
If I was going to deploy a quick ercwp token I'd probably use remix. For something more complex I'd probably use a offline text editor like vscode and then test and migrate using truffle or hardhat
Its working the same on polygon if i want to make a token?
Yes absolutely. Polygon is EVM compatible so can use the same code. Need some matic to pay transaction fees
Can I use remix because truffle is so complicated installing command etc I hate it can I just use remix and by using remix can I get mint and burn function??
You can use remix but it's somewhat limited in what you can do compared to truffle or hardhat though. For deploying a simple token it should be fine
@jamesbachini I am using remix but after deploying the contract I saw the mint burn and many other functions but when I refresh the browser all functions are gone but the code is still there am I doing something wrong??
@@CryptowithTSC from memory is there an expansion tab next to a contract address on the left. If not I think there's an option to load an external contract using the ABI from the source code. Is there a contractAt button or something like that? Provide the deployed contract address and you should be able to interact with it again
Good job James! Keep up the good work! U got a new follower ;)
Question, I am doing a BNP-20 token right now more or less the same process. But there is one thing I need to understand. Lets say that I call my token "Token". In the liquidity pool I put 1 BNB and lets say that I lock initial 60%, How will that effect trading and what would be change if I put 100000 BNB in the pool, this shortterm and long term?
So I guess you'll be using pancake swap which is a fork of Uni v2 I believe. If you add 1 BnB and however many tokens then when someone buys or sells some it's going to have a more major effect on the price because there's less liquidity in the pool. With 100000 BnB then there's more to trade against and traders will experience less slippage etc. With regards to locking up tokens, do you mean like vesting them? This might affect your circulating supply and therefore market cap on sites like coinmarketcap/coingecko.
Wow, thank you for such quick response!
Yes, you are correct, pancake swap. I understand. Locked liquidity I mean that tokens will be: “the pool token’s movement is restricted by a time-based function. This means that once the restriction is set, they cannot be moved or redeemed until the pre-selected time has passed” or forever in a non-owned contract, often a lot of 00000 in the address. This due to what I have read to create a trust for traders that the creator won’t dump all the liquidity and leave traders behind with 0 possibilities to trade, squid token I think did this.
But okey, let’s say that I don’t have that pay upfront cash to bring 10000 BNB to create the liquidity, smother payments, less slippage etc. How can the pool increase and how? Thing is that I have a crypto-homepage where I got a lot of traffic and nice community, so I think there is a possibility to bring some traders quick at launch -> will than 1 BNB for let’s say 1.000.000.000 “Token” be okey? Sorry if I am unclear, I just starting to learn.
Thank you in advance,
@@simonrosell3946 1 bnb to 1 billion tokens is going to value your token quite low and small buys in BNB terms will affect the price significantly. As traders buy it they will be adding BnB to the pool and removing tokens. This means it will balance out eventually but price will be highly volatile to start with.
amazing video! Exactly what I was looking. Can you please show us how to use these in a smart contract where if someone performs an action they get some of these tokens? Action could be as simple as clicking a button ten times and they get some tokens.
So I like to use openzeppellins safeERC20.sol interface and then the code is token.safeTransfer(address,amount); in solidity. Should be plenty of example code for this on stack overflow and GitHub.
github.com/jamesbachini/myVault/blob/main/contracts/myVault.sol
^ An example
Can you share with us how we can launch our own coin in uniswap and allow users to make money as a Liquidity provider?
The key is to create demand. If your token has perceived value then people will buy and sell it which creates fees for liquidity providers.
The more value and demand you can generate the more activity there will be on the AMM.
@@JamesBachini Thanks!
Can you do one of these for the Cronos network?
I'll take a look
What will happen if l add 90% of tokens to the pool in ratio, 90% = 1bnb?
If you are doing full range liquidity on v2 then your token will be worth about $300 for the entire supply initially. As people buy it they'll add BnB to the other side of the pool and price will go up. Slippage might be an issue and you may get price impact warnings on Uniswap because of the thin liquidity. Try it on testnet first
@@JamesBachini it's on V3. There is no slippage from what l understand, as it's 0% buy/sell antispam BSC token. Only gas fees
Wait. So I create a token with 100 supply if I provided 10 tokens into liquidity on uniswap and set a price couldn’t I just sell the other 90 tokens off at whatever price I set x-)
When you set up a liquidty pool you provide two assets i.e. your token and Eth. So you might provide 10 of your toke s and one eth. As you sell the other 90 the token price will go towards zero until theres barely any Eth left in the pool.
So you can't sell an unlimited amount and get back any more than the Eth you put into the pool.
@@JamesBachini sorry James, far too many questions from me here: so in reference to this, how does a token make any profit? the value is tied to the pool and each time a token is brought the pool increases and the value goes up? so it would be best to buy your own token (say 10% of the pool you just created, eg where you supplied 80% at 10ETH) and then the gains are made from that 10% u buy as the value increases rather than say the 20% that remained in your wallet when the pool was created?
@@Si-Toecutter to make USD money you would need to sell your tokens in to the liquidity pool as other traders are buying them. In practice many projects agree OTC terms with VCs to prevent negative price impact of selling their own tokens.
OTC = over the counter (private deal)
VCs = Venture Capital firms (big investors)
How do you get the code on line 5&6 at 1:53
Open the file in a program called vscode or any text editor
First
Can I send you my final codes to get a second eye before I launch? Let me know how much. Thank you, stay awesome 👍
Yeah send me the GitHub repo or something and I'll take a quick look over it. No charge but bare in mind I'm not a professional security auditor
why it does not have a logo
In metamask?
You would add it via a button on your website: metamask.zendesk.com/hc/en-us/articles/360059582151-How-to-add-a-token-logo
how to import the token icon?
The token icon isn't linked to the contract code. Often when you submit a new token to 3rd party websites like coinmarketcap and coingecko there's a option in the form for the logo
@@JamesBachini thx u sir
Except this is V3, V2 is slightly different.
Why should I use V2 instead of V3? Just getting into this.
What sets the slippage on Uniswap? Some cryptos have 2-3 % others have like 13%
The amount of liquidity in the pool and with V3 the concentration of that liquidity. A $100 order into a $1m tvl pool won't move the price but if the pool only has $1000 of assets in it then the balance of those assets will move more and be reflected in the price
Hi, do you have an email I can private message you?
Yes in the about section on the TH-cam profile or on the blog linked to in the description
Bro must have smacked his lips in between every sentence. It drove me insane
😙
Hey, How are you? Could you check your Email from me when you get the chance? I was looking to see if you could assist me in having a coin created for my artist development company.