Guys, is there any way to stop a smart contract from interacting with my wallet?
Aug 9, 2022, 1:08 PM
I think I have interacted with a scam smart contract that steal every eth that i send to my wallet
Aug 9, 2022, 1:10 PM
does it have your private key?
Aug 9, 2022, 1:12 PM
No
But once I send the eth to the wallet
They got sent to another wallet immediately
They got sent to another wallet immediately
ETH
Need to do revoke
Aug 9, 2022, 1:26 PM
You can revoke permission on etherscan
Aug 9, 2022, 1:28 PM
Yes but I need gas fees and i can't have eth
Aug 9, 2022, 1:45 PM
Someone else have your private key then
Aug 9, 2022, 1:49 PM
I believe no, because it looks like that this smart contract targeting only eth token
Anyone has a script of python to send eth or erc 20 token?
Aug 9, 2022, 2:59 PM
anyone knows if there is a working rinkeby faucet somewhere ?
Aug 9, 2022, 3:38 PM
Please don’t tear me a new one for asking:
How would you guys go about making a wallet that holds a persons personal information like name address etc, and keeping them protected at the same time? Like a wallet that can be used to prove to anyone that you are who you say you are but at the same time not reveal that info? is that possible?
How would you guys go about making a wallet that holds a persons personal information like name address etc, and keeping them protected at the same time? Like a wallet that can be used to prove to anyone that you are who you say you are but at the same time not reveal that info? is that possible?
Aug 9, 2022, 5:17 PM
Look for "decentralized identity"
Aug 9, 2022, 5:19 PM
you would need to store that info offchain and encapsulate that info somehow in the tx data that links to your off chain services
Aug 9, 2022, 5:19 PM
That’s what I was thinking as well.. I got a job offer for a company trying to accomplish this but I’m trying to figure out if it’s even possible the way they’re tying to do it
Aug 9, 2022, 5:20 PM
someone has to know at the end
Aug 9, 2022, 5:21 PM
i know there's a provider, Fauna, that does thsi kinds of things, maybe you can read into their docs to find more info
Aug 9, 2022, 5:21 PM
Right on bro thank you I’ll look them up
Aug 9, 2022, 5:21 PM
https://docs.polygon.technology/docs/develop/dapp-fauna-polygon-react/
hope it helps
hope it helps
i think it uses uuids on tx.data but i didnt deep into it too much
Aug 9, 2022, 5:22 PM
/router
Router
Aug 9, 2022, 5:29 PM
how can I solve NONCE prediction problem?
I have 1M mints to do
i generate list of requests (nonce, function, params)
i start doing this requests
1 ok, 2 ok ...... 500 ok, 501 - lost somewhere
after that request with nonce 502 .... will be invalid
I have 1M mints to do
i generate list of requests (nonce, function, params)
i start doing this requests
1 ok, 2 ok ...... 500 ok, 501 - lost somewhere
after that request with nonce 502 .... will be invalid
so i have to stop, generate all of it again. and retry?
Aug 9, 2022, 5:50 PM
apply rate limits
Aug 9, 2022, 5:50 PM
what is it
Aug 9, 2022, 5:51 PM
Why not write a wrapper contract?
Put the function call in a loop, and call it once
Avoid all the nonce handling hurdles
Aug 9, 2022, 5:56 PM
so, using async / several workers it is a bad idea i guess
it should be one synchronous loop to mint
send transaction. wait for hash. increase nonce +1. do it again
send transaction. wait for hash. increase nonce +1. do it again
and no way to speed it up
Aug 9, 2022, 6:01 PM
that's not true
Aug 9, 2022, 6:01 PM
Can you give me some advice or example?
Aug 9, 2022, 6:02 PM
apply rate limits, and synchronously send multiple txns (while maintaining the nonce)
Aug 9, 2022, 6:03 PM
so. it means
1)send transaction.
2)wait for hash.
3)if hash returned - increase nonce +1.
4)do it again
1)send transaction.
2)wait for hash.
3)if hash returned - increase nonce +1.
4)do it again
here is no way to overflow rate limit. because it is 5 tx per second , but 1 request about 500 ms
Aug 9, 2022, 6:19 PM
I don't see your rate limit here, the rpc/web3 instantly returns the hash once broadcasted or otherwise rejected.
use setInterval
Aug 9, 2022, 6:22 PM
I think it's my internet connection issue
Aug 9, 2022, 6:24 PM
what the network connection has to do with this? you have to apply rate limits on all rest requests (the basic rule of thumb)
Aug 9, 2022, 6:25 PM
How can I apply them?
Aug 9, 2022, 6:29 PM
use setInterval
Aug 9, 2022, 6:29 PM
i think he's using python, maybe time.sleep does the work
Aug 9, 2022, 6:40 PM
could be lol
Aug 9, 2022, 6:41 PM
js gang 😎
Aug 9, 2022, 6:41 PM
😎
Aug 9, 2022, 6:42 PM
This is possible with any other token right?
Aug 9, 2022, 7:40 PM
Sol gang 😎
Aug 9, 2022, 9:13 PM