How To Create A New Token & Uniswap Liquidity Pool

  Рет қаралды 53,799

James Bachini

James Bachini

Күн бұрын

Пікірлер: 191
@stray9523
@stray9523 3 жыл бұрын
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
@JamesBachini
@JamesBachini 3 жыл бұрын
Thank you! Will have a think about some a tokenomics video 👍
@passpass8778
@passpass8778 3 жыл бұрын
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?
@JamesBachini
@JamesBachini 3 жыл бұрын
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
@cy666er 3 жыл бұрын
@@JamesBachini could you somehow help me with learning how to execute contract functions? im fairly new to this
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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.
@jeffery7069
@jeffery7069 3 жыл бұрын
Thanks. It was really helpful!
@culinaryjedi
@culinaryjedi 3 жыл бұрын
thanks man, like the video
@tomcampbell8749
@tomcampbell8749 2 жыл бұрын
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
@tomcampbell8749
@tomcampbell8749 2 жыл бұрын
ROPSTEN TEST NETWORK*
@JamesBachini
@JamesBachini 2 жыл бұрын
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.
@evdark-7638
@evdark-7638 2 жыл бұрын
the liquidity pool uses ur token balance for people to buy ?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@quantcook
@quantcook 2 жыл бұрын
hi. what editor did you use in this video? thanks
@JamesBachini
@JamesBachini 2 жыл бұрын
Davinci Resolve
@falloutmulti-gaming
@falloutmulti-gaming 7 ай бұрын
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 🤪
@JamesBachini
@JamesBachini 6 ай бұрын
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.
@falloutmulti-gaming
@falloutmulti-gaming 6 ай бұрын
​@@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
@kdkd9321
@kdkd9321 3 жыл бұрын
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?
@BestVideos01
@BestVideos01 8 ай бұрын
yes they can
@tinghuang-dv2xd
@tinghuang-dv2xd 7 ай бұрын
Hello, as of now, it seems that Uniswap cannot provide liquidity on the testnet
@JamesBachini
@JamesBachini 7 ай бұрын
Goerli is depreciated, try Sepolia testnet. More info here support.uniswap.org/hc/en-us/articles/14580495154445-Testnets-on-Uniswap
@jeremiahesite7430
@jeremiahesite7430 7 ай бұрын
@@JamesBachini I checked it out. It no longer supports test net tokens. It just doesn't show up. Is there an alternative? Thanks
@jeremiahesite7430
@jeremiahesite7430 7 ай бұрын
Were you later able to make a swap with testnet
@alexpauer6467
@alexpauer6467 3 жыл бұрын
just gave a like, great walkthrough. How much in total would this cost?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@mattmatician
@mattmatician 3 жыл бұрын
What chair do you use?
@JamesBachini
@JamesBachini 3 жыл бұрын
I think it's just an IKEA office chair
@perparimrushiti8552
@perparimrushiti8552 2 жыл бұрын
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?
@JamesBachini
@JamesBachini 2 жыл бұрын
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.
@vuseven8356
@vuseven8356 3 жыл бұрын
How do you get the code on line 5&6 at 1:53
@JamesBachini
@JamesBachini 3 жыл бұрын
Open the file in a program called vscode or any text editor
@JoaoRangelSilvaPsicologia
@JoaoRangelSilvaPsicologia Жыл бұрын
Is this still possible? It doesn't appear the "create pool" option right now
@JamesBachini
@JamesBachini Жыл бұрын
Yes should still work although the code is a little outdated now
@JoaoRangelSilvaPsicologia
@JoaoRangelSilvaPsicologia Жыл бұрын
@@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!
@JamesBachini
@JamesBachini Жыл бұрын
Yes absolutely, similar structure to a standard governance token. Plenty of daos with open source contracts to check out and get inspiration from
@JoaoRangelSilvaPsicologia
@JoaoRangelSilvaPsicologia Жыл бұрын
@@JamesBachini Is it possible to do without knowing how to code? Because it's my situation 😅😅
@JamesBachini
@JamesBachini Жыл бұрын
@@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
@Knowideer
@Knowideer 3 жыл бұрын
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?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@aceheng8452
@aceheng8452 3 жыл бұрын
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.
@CrushingMight
@CrushingMight Жыл бұрын
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.
@JamesBachini
@JamesBachini Жыл бұрын
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
@soundify-iw9zq
@soundify-iw9zq 3 жыл бұрын
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 ?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@Si-Toecutter
@Si-Toecutter 3 жыл бұрын
@@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
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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.
@joemgap
@joemgap 3 жыл бұрын
Just a question. Please notice me. Since there are unliquidated MYT 99490, what should happen to them?
@joemgap
@joemgap 3 жыл бұрын
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?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@sg7571
@sg7571 2 жыл бұрын
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?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@sg7571
@sg7571 2 жыл бұрын
@@JamesBachini Thanks a lot for the guidance
@dogslove9674
@dogslove9674 2 жыл бұрын
hows is creating and deploying a liquidity pool beneficial ? Do i earn anything by deploying my own liquidity pool ?
@JamesBachini
@JamesBachini 2 жыл бұрын
It makes the tokens available. So to buy tokens on Uniswap there needs to be a liquidity pool for users to trade in to
@visionarydefi
@visionarydefi 2 жыл бұрын
Great info, Where do people buy your token from, uniswap or the contract address? Or both? Thanks 👍
@JamesBachini
@JamesBachini 2 жыл бұрын
Generally someone would go to Uniswap and then enter the token contract address to buy it
@torusaeternum6977
@torusaeternum6977 2 жыл бұрын
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?
@JamesBachini
@JamesBachini 2 жыл бұрын
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.
@simcrypted717
@simcrypted717 3 жыл бұрын
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 ?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@simcrypted717
@simcrypted717 3 жыл бұрын
@@JamesBachini Really appreciate your response and help.
@matthewdwyer9096
@matthewdwyer9096 2 жыл бұрын
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?
@JamesBachini
@JamesBachini 2 жыл бұрын
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.
@CryptowithTSC
@CryptowithTSC 3 жыл бұрын
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
@JamesBachini 3 жыл бұрын
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
@CryptowithTSC
@CryptowithTSC 3 жыл бұрын
@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??
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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
@janjanulewicz9599
@janjanulewicz9599 2 жыл бұрын
Is it possible to list security tokens and other ERC variations on uniswap?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@volrexlimited5505
@volrexlimited5505 3 жыл бұрын
What's the difference with creating a new pool vs V2 liquidity create a pair ?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@en5490
@en5490 2 жыл бұрын
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?
@JamesBachini
@JamesBachini 2 жыл бұрын
Weird, sounds like metamask is playing up. Try clearing Uniswaps browser history and then restarting the computer and having another go
@zakariyaahmed9629
@zakariyaahmed9629 3 жыл бұрын
Question James - I'm getting File import callback not supported when I try to import ERC20PresetMinterPauser, any advice on how to resolve this?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@LMMTLESS
@LMMTLESS Жыл бұрын
Change the branch from master to releasev4.7.1 in ur terminal after u clone the repo. the master branch doesnt have ERC20PresetMinterPauser
@BlockchainChannel220298
@BlockchainChannel220298 2 жыл бұрын
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
@silvermarkytv3226
@silvermarkytv3226 3 жыл бұрын
This is Great video hope someday I create my own token.
@JamesBachini
@JamesBachini 3 жыл бұрын
Try it on testnet, no downside
@mathewhalford
@mathewhalford 2 жыл бұрын
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.
@JamesBachini
@JamesBachini 2 жыл бұрын
Sure, email me your details (email address is on my site) and I can get on a call around 7.30 UTC
@abdullah47180
@abdullah47180 2 жыл бұрын
Thanks for this great tutorial man. A quick question: How can I get my pool address?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@abdullah47180
@abdullah47180 2 жыл бұрын
@@JamesBachini got it, thanks
@DRS200
@DRS200 2 жыл бұрын
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 🙏
@JamesBachini
@JamesBachini 2 жыл бұрын
Yeah there's nothing stopping you. Might confuse people a bit though as it's the same name and ticker as the native asset
@JFKTLA
@JFKTLA 2 жыл бұрын
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
@JamesBachini
@JamesBachini 2 жыл бұрын
A liquidity pool doesn't earn money. It just lets users trade one digital asset for another
@alienwaremx
@alienwaremx 3 жыл бұрын
Its working the same on polygon if i want to make a token?
@JamesBachini
@JamesBachini 3 жыл бұрын
Yes absolutely. Polygon is EVM compatible so can use the same code. Need some matic to pay transaction fees
@hemlatarawat1322
@hemlatarawat1322 3 жыл бұрын
what is the maximum decimal we can keep while creating ERC 20 token
@JamesBachini
@JamesBachini 3 жыл бұрын
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
@technicalamanullah7019
@technicalamanullah7019 2 жыл бұрын
Why use truffle who you can totally skip it and use remix to deploy it on the mainnet ?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@johnnymakarony2692
@johnnymakarony2692 Жыл бұрын
How much money should I add as liquidity when I add liquidity pool? It's $500 enough?
@JamesBachini
@JamesBachini Жыл бұрын
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
@jasongodgeon9951
@jasongodgeon9951 3 жыл бұрын
Awesome video, just one question, if I create my own token on the main net, would I be able to swap it for ETH ?
@JamesBachini
@JamesBachini 3 жыл бұрын
Only if someone else wants to swap Eth for your token. There needs to be someone else on the other side of the trade.
@jasongodgeon9951
@jasongodgeon9951 3 жыл бұрын
Thank you, I learned a lot from your videos , you should really market yourself more , you will have millions of subscribers
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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 :)
@smokecityable
@smokecityable 3 жыл бұрын
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
@JamesBachini 3 жыл бұрын
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
@Yassinbenchardoud
@Yassinbenchardoud Жыл бұрын
@@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
@JamesBachini
@JamesBachini Жыл бұрын
@@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
@awakentraveler2611
@awakentraveler2611 2 жыл бұрын
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?
@JamesBachini
@JamesBachini 2 жыл бұрын
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.
@awakentraveler2611
@awakentraveler2611 2 жыл бұрын
@@JamesBachini thank you 👍
@jedijamez9100
@jedijamez9100 3 жыл бұрын
Can you do one of these for the Cronos network?
@JamesBachini
@JamesBachini 3 жыл бұрын
I'll take a look
@bouncypickle7621
@bouncypickle7621 3 жыл бұрын
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.
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@bouncypickle7621
@bouncypickle7621 3 жыл бұрын
@@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?
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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
@bouncypickle7621
@bouncypickle7621 3 жыл бұрын
@@JamesBachini thank you!!!!
@keshavkeswani3656
@keshavkeswani3656 3 жыл бұрын
@@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?
@mushroomfpv
@mushroomfpv 3 жыл бұрын
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
@JamesBachini
@JamesBachini 3 жыл бұрын
Yeah DM on twitter @james_bachini or email is in the KZbin about section
@Si-Toecutter
@Si-Toecutter 3 жыл бұрын
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
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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
@xandercage1239
@xandercage1239 3 жыл бұрын
Nice
@remoreacts91
@remoreacts91 3 жыл бұрын
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.
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@JamesBachini
@JamesBachini 3 жыл бұрын
github.com/jamesbachini/myVault/blob/main/contracts/myVault.sol ^ An example
@Glow0110
@Glow0110 2 жыл бұрын
Any chance you can do a full walk through of a token contract that has taxes and explain how it works?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@lowjungxuan6352
@lowjungxuan6352 3 жыл бұрын
how to import the token icon?
@JamesBachini
@JamesBachini 3 жыл бұрын
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
@lowjungxuan6352
@lowjungxuan6352 3 жыл бұрын
@@JamesBachini thx u sir
@simonrosell3946
@simonrosell3946 3 жыл бұрын
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?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@simonrosell3946
@simonrosell3946 3 жыл бұрын
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,
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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.
@bilalstrive
@bilalstrive 2 жыл бұрын
why it does not have a logo
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@unluckymoe1
@unluckymoe1 Жыл бұрын
What will happen if l add 90% of tokens to the pool in ratio, 90% = 1bnb?
@JamesBachini
@JamesBachini Жыл бұрын
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
@unluckymoe1
@unluckymoe1 Жыл бұрын
@@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
@mikegrant3630
@mikegrant3630 2 жыл бұрын
Why didn't you add the full supply? Can you add the full supply if your money is limited?
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@TokenEmergente
@TokenEmergente 3 жыл бұрын
Muchas gracias.
@singalore
@singalore 3 жыл бұрын
Can you share with us how we can launch our own coin in uniswap and allow users to make money as a Liquidity provider?
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@singalore
@singalore 3 жыл бұрын
@@JamesBachini Thanks!
@mcjaystar
@mcjaystar 3 жыл бұрын
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-)
@JamesBachini
@JamesBachini 3 жыл бұрын
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.
@Si-Toecutter
@Si-Toecutter 3 жыл бұрын
@@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?
@JamesBachini
@JamesBachini 3 жыл бұрын
@@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.
@JamesBachini
@JamesBachini 3 жыл бұрын
OTC = over the counter (private deal) VCs = Venture Capital firms (big investors)
@jsanford01
@jsanford01 2 жыл бұрын
Except this is V3, V2 is slightly different.
@alexander_stahl
@alexander_stahl Жыл бұрын
Why should I use V2 instead of V3? Just getting into this.
@awakentraveler2611
@awakentraveler2611 2 жыл бұрын
Can I send you my final codes to get a second eye before I launch? Let me know how much. Thank you, stay awesome 👍
@JamesBachini
@JamesBachini 2 жыл бұрын
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
@JoremiSaada
@JoremiSaada 3 жыл бұрын
What sets the slippage on Uniswap? Some cryptos have 2-3 % others have like 13%
@JamesBachini
@JamesBachini 3 жыл бұрын
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
@mikeymcmillan5927
@mikeymcmillan5927 3 жыл бұрын
Hi, do you have an email I can private message you?
@JamesBachini
@JamesBachini 3 жыл бұрын
Yes in the about section on the KZbin profile or on the blog linked to in the description
@SparePartsCartoon
@SparePartsCartoon 2 жыл бұрын
Bro must have smacked his lips in between every sentence. It drove me insane
@JamesBachini
@JamesBachini 2 жыл бұрын
😙
@Bizarrebrilliance
@Bizarrebrilliance 3 жыл бұрын
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.
@Azazaz426
@Azazaz426 3 жыл бұрын
First
ERC20 Token Tutorial | Create Your Own Cryptocurrency
1:13:56
Block Explorer
Рет қаралды 144 М.
But how does bitcoin actually work?
25:16
3Blue1Brown
Рет қаралды 16 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
How Can I Add Value To An ERC20 Token?? Liquidity Pool 🔥
36:45
What is Blockchain
13:58
zlotolow
Рет қаралды 3,3 МЛН
Kraken Exchange: Complete Beginner's GUIDE!! 📈
24:38
Coin Bureau
Рет қаралды 186 М.
Fork Uniswap & Create Your Own Sushiswap | Full Tutorial
48:45
EatTheBlocks
Рет қаралды 136 М.
How To Create a Token (Step-by-Step ERC20 Code Explained)
17:20
Whiteboard Crypto
Рет қаралды 142 М.
Create a token on Binance Smart Chain | Beginner Tutorial
29:53
EatTheBlocks
Рет қаралды 598 М.
Solidity Tutorial | For Developers Coming From Javascript, C++, Python
17:11
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН