Add/Import cusotm token on dex

No but it seems like the only difference is homepage setting in pkg json. And why the contract.jsx error fix hasn’t been merged yet? Updates needed. Also past two times you’ve linked to the github the link is broken.

Ok so I went ahead and downloaded the demo branch it installed with a lot of warnings similar to before but after yarn start it compiles successfully no warnings. but the main issue I have still persisted as shown in the below video. The server was deleted after recording.

Give the demo a try with your wallet and BNB from amount above 0.01. And all the links I’ve posted are fine on my end.

https://ethereum-boilerplate.github.io/ethereum-boilerplate/1inch

as I just said the issue persists, same problem.
regarding the link … that’s weird hmm…

Looks like an issue with that browser, I had this issue on Firefox as well. It works on Chrome/Edge. Try them or

https://ethereum-boilerplate.github.io/ethereum-boilerplate/

ahh ok i see what your saying now , weird

result:

So the issue is not related to your local deployment of the boilerplate or similar code, that was the idea behind trying this. Try resetting your MetaMask account in Settings > Advanced and try MetaMask in a different browser.

done that same result

A few more things to try, change the BSC RPC in MetaMask, try a different wallet with BNB (can send some from this wallet to another one).

Works on my end. Only had issues trying to click the Swap button.

What in the heck…lol ohhkay not sure what to do… any advice on how to make those error messages more descriptive (like the boilerplate demo test we did) would be appreciated

If you mean the alert e.g. [object Object], you can try catch or change how they do it in the boilerplate code.

Well I’ll have a look at that then I guess, I wonder what the issue is. Did you use mobile? I just had a friend try it and he gets object object error , he may have been on my wifi network though… but that doesn’t makes sense because I have no issues buying other tokens.

No, I get that error when I put in an amount larger than my balance on desktop. Boilerplate uses alerts by default.

I just tried it on my 5g data plan in metamask browser after account reset and deleted cookies. Still same error.

okay so further testing with other peoples computers, and different networks on https://ethereum-boilerplate.github.io/ethereum-boilerplate/ concludes that if you buy with less than 0.01 it works but between 0.02bnb and 0.9bnb its gives the error but for whatever reason 0.1bnb works. this should be reproducible. how much have you been trying?

Unfortunately I cannot reproduce that, 0.04 BNB swap is prompting fine. Very odd, you said 0.01 wasn’t working and now it is. Hopefully someone else can chime in with a solution or something else to try.

I did not, I said amounts above 0.01 don’t work and I was testing 0.04

its soo weird i dont get how 0.04 works for you when i’ve tried with multiple people , multiple wallets , on different ISP’s

Still have this issue, and have reports from multiple people who have tested. would be great to get a lead on whats happening here.

Not sure if you’ve done this but try initiating a static swap request with the 1inch plugin and do this within the same project to see if it works. If it doesn’t, then again in a separate, new project with just the swap to simulate/do the same thing in the boilerplate.