Hope you're enjoying your road to web3! Please share any feedback you have on the video in this form, it helps us get better for future videos :) alchemyapi.typeform.com/roadtofeedback
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
I spent about 2 hours trying to figure out the format of the 0x API key line and add that in when using Goerli testnet. For anyone else who is looking the format is const headers = {'0x-api-key': 'paste-key-here' } which doesn't look anything like what was there const headers = {'0x-api-key: [api-key]'}; Also no mention of headers in this tutorial.
I would like to create a service like this, but do I earn from fee ? Otherwise, the maintenance costs for a free product would not be able to maintain these costs
I am glad to have joined, though I started late. I have to start from pt1. There are some crypto currency I bought and some airdrops I got but I can't sell it because the liquidity wasn't added, it keeps saying " insufficient liquidity" I need to learn this to enable me to understand the ethics and methodology in which they operate. Pls I am going to write you on twitter. Thank you for this.
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
hey can anyone please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
I am trying the same code but getting this error on Approve method - Returned error: The method eth_sendTransaction does not exist/is not available. Any help is appreciated
Can anyone share the resolution of the error: 'code: 105, reason: 'SenderNotAuthorizedError', values:'? It appears in the "Quote" console.log after clicking the swap button.
@@awaisjavaid4972 This error typically occurs if liquidity for the trading pair is too low. I'd recommend you try testing with a more common pair such as WETH-DAI
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
Hope you're enjoying your road to web3! Please share any feedback you have on the video in this form, it helps us get better for future videos :)
alchemyapi.typeform.com/roadtofeedback
This is one of the few Dapp tutorials online that actually worked!
Thanks.
Glad it was helpful Richard!
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
You pulled up some old school tricks right there. Its been a long time, thanks for the data. Great stuff!
thank you for sharing useful knowledge, I like watching it.. thank you very much
Shoutout to the awesome Jessica from 0x!
I spent about 2 hours trying to figure out the format of the 0x API key line and add that in when using Goerli testnet. For anyone else who is looking the format is const headers = {'0x-api-key': 'paste-key-here' } which doesn't look anything like what was there const headers = {'0x-api-key: [api-key]'}; Also no mention of headers in this tutorial.
This was a big mess in the end. Not recommended.
@@ChristianScrivo did it work? also how did you get the api key?
Thank you..Does it work with a trusted wallet as well or does it work with Metamask only?
The 0x Swap API should work with any wallet. You'll just need to do some configuring with the connection() function
thank you very much
You're welcome!
Ma'am, is it possible to create a 0x protocol proxy flash contract which allows only selling or only buying of a certain token at a predefined price?
does it work for other network like bsc, polygon etc ...... i only see ETH to DAI in the video
I have a huge problem, I can authorize the token in the metamask on the polygon network, but I am having an evm error, can someone help me?
I would like to create a service like this, but do I earn from fee ? Otherwise, the maintenance costs for a free product would not be able to maintain these costs
I am glad to have joined, though I started late. I have to start from pt1. There are some crypto currency I bought and some airdrops I got but I can't sell it because the liquidity wasn't added, it keeps saying " insufficient liquidity" I need to learn this to enable me to understand the ethics and methodology in which they operate. Pls I am going to write you on twitter. Thank you for this.
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
Thanks a lot, but a tuto from scratch with React would be so much interesting
hey can anyone please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
having same issue
awesome
better call saul
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
How to add own altcoin and own token
Hi, for me send transaction is not working i got result upto quote but further transaction is not happening no errors are shown
much love for this info tho
I am trying the same code but getting this error on Approve method - Returned error: The method eth_sendTransaction does not exist/is not available. Any help is appreciated
Can anyone share the resolution of the error: 'code: 105, reason: 'SenderNotAuthorizedError', values:'?
It appears in the "Quote" console.log after clicking the swap button.
how can i add filter in the tokens? hope you will reply to me thanks
Nice
Can I set my own fees?
having issue doing the modal if i clicked its not opening
not working, metamask doesn't connect, doesn't show list of coin
thats all ERC-20, how to do that with BEP-20?
Can you please attached some html,js,css link in bio mam😅
I guatrisa know how to add lared binace to this project
how do we charge a few for every transaction?
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap
Interested
what is that sign simular to ' at 27:47 at row 19?
backitck and it is on the top left on keyboard
I am having trouble while dealing with bundle.js
can anyone solve am problem ?
having same issue have you solved it ?
were you able to solve it?
while fetching price am getting this error, Anybody have any idea
{code: 100, reason: 'Validation Failed', validationErrors: Array(1)}
code: 1004
field: "sellAmount"
reason: "INSUFFICIENT_ASSET_LIQUIDITY"
@@awaisjavaid4972 This error typically occurs if liquidity for the trading pair is too low. I'd recommend you try testing with a more common pair such as WETH-DAI
hey can you please solve this whenever i am clicking swap button i am getting this error in console i am not able to swap Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
@@0xProject Uncaught (in promise) Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="spender", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)