hello everyone. i just joined and it's nice to be here❤️❤️❤️❤️. I would love to have someone help me with an issue im having. its between github and remix(IDE), i am not even sure where it's rooted. see, I am able load a file( another smart contract that I want to interact with) from github into my remix workspace. but when I import the file into my contract, no matter how I try to locate the file using directories, I always get an error from the remix compiler, it says file not found. this is a first step missing in my contract and I can't even do anything without it. i would appreciate any help please. I just can't seem to find the answer anywhere.

Apr 18, 2021, 9:12 PM
Hi, before import the files, create the directory in remix
Later, create the files inside this new created directory, and paste the code from github inside each file.
So, remix will find your directory and files.
Apr 18, 2021, 9:40 PM
so I recreate these files in remix by copy-pasting thier code and use the ones I just created when importing instead of the original files?
Apr 18, 2021, 9:43 PM
Yes, you can try this, and double check te paths inside the code in each file, if correspond to the path of the directory you are now creating
Another option is to point to each file in github using the url
Apr 18, 2021, 9:50 PM
ok thank you
Apr 18, 2021, 9:51 PM
Like this:
import 'https://github........';
Do it for each file that remix didn't find.
Apr 18, 2021, 9:52 PM
You can also connect using local host from remix. There is a "remixd" you can use and it runs a diamond. From remix you have direct access to your project directory
Apr 18, 2021, 9:53 PM
Can someone inform if a pending transaction in metamask since 2 days ago that is not appearing in etherscan, still has the chance to be broadcasted into the network?
Apr 18, 2021, 9:55 PM
if you dm me the tx# ill check for you
Apr 18, 2021, 9:56 PM
I've checked in etherscan but transaction was not found
Apr 18, 2021, 9:57 PM
but to answer your question, something seems very off if your metamask says pending but you have not found a tx
Apr 18, 2021, 9:57 PM
I will look into this. thanks.
Apr 18, 2021, 9:58 PM
it doesnt exist then? lol metamask is wrong i guess?
Apr 18, 2021, 9:58 PM
Yes...I've used a gas price of 5
Apr 18, 2021, 9:58 PM
are you searching on the right chain? or have the wallet connected to the chain?\
ie ropsten etherscan isnt the same as etherscan
Apr 18, 2021, 9:59 PM
Yes...the only thing I believe is influencing is the gas price I set
In mainnet
Apr 18, 2021, 9:59 PM
nope, that wouldnt make a transaction not happen
maybe youre right, maybe etherscan didnt even bother to acknowledge it?
Apr 18, 2021, 9:59 PM
It is a smart contract deployment using remix injected web3
Yes, probably..but need to know if some moment it will be broadcasted
Or never
Apr 18, 2021, 10:01 PM
yeah id look into it but would need the tx lol
are you trying to cancel it because you cant go forward? theres a way to do that beyond hitting cancel
Apr 18, 2021, 10:02 PM
I'm just asking because in the site ethgas station calculator says around 40% of miners accepts tx with this gas price
Didn't try to cancell it yet
Do you think it is better to cancel it, or wait more? I be set a gas price of 5, but the current one is 94
Apr 18, 2021, 10:06 PM
its not gonna ever get confirmed
if something says a large amount of transactions go throught at less than 5 gas, its because of flashbots
aka people bribing miners off chain
Apr 18, 2021, 10:07 PM
So, how to solve this? I don't need to be immediately mined
I can wait hours if needed
Apr 18, 2021, 10:07 PM
at 5 gas, it will likely never ever happen, until 2025
Apr 18, 2021, 10:07 PM
Oops..what would be a minimum price to set for gas price, to mine let's say in 2 days?
94 is very expensive
Apr 18, 2021, 10:09 PM
Apr 18, 2021, 10:09 PM
Yes, I see it
Apr 18, 2021, 10:10 PM
its like setting a limit order on an exchange, you can try to shoot low, but it doesnt mean you'll get it
Apr 18, 2021, 10:10 PM
Yes, but what is the minimum price that allows me to have the transaction broadcasted let's say within the next week?
Apr 18, 2021, 10:11 PM
broadcasted or confirmed?
Apr 18, 2021, 10:11 PM
Both
Apr 18, 2021, 10:11 PM
idk about any limit for 'broadcasting' if anyone else has any input on this, ive never sent a transaction with less than 50 gas and went looking for it
as far as confirmed, again you're making a bet that the gas price will fall
so like investing, you're taking a bet that the price will drop
Apr 18, 2021, 10:13 PM
Understood
Apr 18, 2021, 10:13 PM
maybe theres a really quiet block 7 hours for now, where the miners will work for 70 gas 🤷‍♂️
Apr 18, 2021, 10:13 PM
Thanks for all information
Apr 18, 2021, 10:14 PM
yw gl
Apr 18, 2021, 10:17 PM

© 2024 Draquery.com All rights reserved.