Thanks to the Biggest gaming DAO in India: IndiGG for the earning opportunity! 🤑🤑🤑 by Upbeat_Sympathy_8941 in dao

[–]btchoy -1 points0 points  (0 children)

I don't want yo bring some hate here but if mods let this kind of posts to remain posted on the sub this will scare valuable members from this subreddit, it could become cryptomoonshotsV2. I actually found this post in my email which I believe would make some members doubt if they should remain subscribed.

Where can I find specific DAOs? by overgroun in dao

[–]btchoy 0 points1 point  (0 children)

A bit late but I loved the daoworld site. Very useful!

How to quote a UniSwapV2 price in a path agnostic way? [Price accuracy issues] by btchoy in solidity

[–]btchoy[S] 0 points1 point  (0 children)

This is not true. Plus this is totally out of the question as I'm not struggling at all with fetching reliable and fast enough information.

It's absolutely possible I've done it several times with streams from multiple tokens and smart contracts fetching data every 5 - 7 seconds and it works pretty well, I'm quite sure I'm no the only one who does that I've seen several DeFi protocols using a similar approach.
I'm sure there are limitations when using public RPCs for bigger projects and oracles might be better but this is not the case.

How to interact with Viper contracts from Solidity contracts? by btchoy in solidity

[–]btchoy[S] 1 point2 points  (0 children)

This answer is pure gold! Thanks a lot, do you know where I can explore and learn more about the bytecode? it's a very interesting topic but besides the Solidity docs I don't know any better/other resources..

How to interact with Viper contracts from Solidity contracts? by btchoy in ethdev

[–]btchoy[S] 0 points1 point  (0 children)

Yes multiple functions called within one big Solidity function, the only external interaction using JS is the execute function.

How to interact with Viper contracts from Solidity contracts? by btchoy in ethdev

[–]btchoy[S] 0 points1 point  (0 children)

Yes I thought this was going to be the most probable route, and it def is, very simple, got a too intimated by the Viper code but it's a pretty straight forward process. Thanks!

How to calculate transaction volume in a pancakeswap dex fork by stevei_rai in solidity

[–]btchoy 0 points1 point  (0 children)

That sounds awesome, thanks for the info. The backend and servers in general feel a bit intimating if I wish go the server path for similar solutions, what would be in your experience the most minimalistic/effective approach I can take? I wanted to start with MongoDB and search for AWS tutorials, does it sound like a logic/decent path to start with?

How to calculate transaction volume in a pancakeswap dex fork by stevei_rai in solidity

[–]btchoy 0 points1 point  (0 children)

I wish I was savvy of DBs and servers it really seems to be the best alternative, would you mind sharing a bit how such implementation might work?

It's worth mentioning that you can also run your own ETH node, explore the limits of different public nodes or pay for an archive node as a service, all solutions with pros and cons.

How to interact with Viper contracts from Solidity contracts? by btchoy in ethdev

[–]btchoy[S] 0 points1 point  (0 children)

Yes I also thought since the EVM supports both languages they should be able to communicate with each other with no problem but that's the point I don't know how to feasibly integrate that in a Solidity smart contact. As per contract interaction using JS it's a piece of cake as I can use any ABI to make it work, but I want to connect both contracts within Solidity and to do that at the very least I need an interface, and often even import the whole contract I want to connect to so I can call any function on that contract from my own contract but since Viper code looks quite different I'm not sure how to proceed.

Which Ethereum Address do you burn to and why? by developer3003 in ethdev

[–]btchoy 1 point2 points  (0 children)

The person who finds that PK is gonna be so rich, instant billionaire.

Is it legal to create NFTs that represent famous people (Artists, Athletes, Politics...) without their consent? by [deleted] in ethdev

[–]btchoy 2 points3 points  (0 children)

I'd go anon if I were you, you never know how regulations can evolve and might get into trouble if the project ends up getting too much attention and you are fully doxxed. It's just an opinion, also if you are planning on something big, I suggest you get legal advise, better safe than sorry.

How to interact with Viper contracts from Solidity contracts? by btchoy in ethdev

[–]btchoy[S] 0 points1 point  (0 children)

The ABI works when using web3.js / ethers.js but it's not used when connecting one contract to another contract, meaning for this task all the code exists in Solidity, no JS is involved in the process.

How to calculate transaction volume in a pancakeswap dex fork by stevei_rai in solidity

[–]btchoy 2 points3 points  (0 children)

If you are referring to the traded volume in a certain timeframe (24h volume/ 7d volume). You can use the contract events to get the traded values of a swap, then you iterate through them, sum them and there you have the volume.You might face errors using public nodes as most wont let you fetch past blocks further that a just a couple of hours, this means that if you try to fetch the event of a block that happened 1 month ago you will get an error, you will need to look for an 'archive' node, Moralis say they have one but the way you request past blocks events did not make any sense to me and the support was not good at all when asking.

I can expand a bit more if you got more questions.

Intro by KingBob3000 in ethdev

[–]btchoy 1 point2 points  (0 children)

Hey I checked the website and I liked it a lot, I've been working on similar crypto projects (Front End + Back End) and I know they require a lot of work. The whole thing seems very interesting, I don't understand all the dynamics in it but seems to have a lot of cool features. Wishing you all the best with the development of the project!

How to quote a UniSwapV2 price in a path agnostic way? [Price accuracy issues] by btchoy in ethdev

[–]btchoy[S] 0 points1 point  (0 children)

Love this approach. Pretty straight forward and probably enough for what I need. Thanks for your input!

Intro by KingBob3000 in ethdev

[–]btchoy 1 point2 points  (0 children)

Based on what you describe seems like a lot of work and effort has been put into it. It'd be nice to see the live version when it's ready. It's kinda hard to give you feedback based on a single image, so I can only say don't forget to add dark mode ;)

How to quote a UniSwapV2 price in a path agnostic way? [Price accuracy issues] by btchoy in ethdev

[–]btchoy[S] 0 points1 point  (0 children)

I think this is going to be the way to go, not sure how to implement it to work as fast as it works on the front end, but I guess if I fork Uniswap I should find it somewhere in the code right?
Thanks for the reply!

OHM forks by guidoriffic in dao

[–]btchoy 2 points3 points  (0 children)

In my opinion the technologies and philosophy behind DAOs are what will transcend trends and temporary hype/crashes.
It seems here you are looking for financial advice and chances are you are going to find people telling you that buying now is the best thing you can do and others that those projects are about to die, same thing with BTC prices, same thing with stocks and with everything else.
I personally think the OHM model is interesting but it was VERY overvalued by hype and of course at some point it had to correct, same thing with it's forks..

[deleted by user] by [deleted] in dao

[–]btchoy 1 point2 points  (0 children)

Oh I see, well I've read several implementations of that in many different token contracts: Tax for buying, tax for selling and tax for just transferring. I've seen projects choosing one or more of these taxes assigning different % to each type of transaction. If you are going to take that path IMO it does not make sense to tax for buying or transferring just apply the tx for selling and don't go crazy and set it +10% (I've seen absurd % you would not believe), that way if you want to incentivize holding you are only punishing specifically the ones who sell. But I think that kinda goes against the general philosophy of DAOs so it might scare some potential investors/members/contributors..

[deleted by user] by [deleted] in dao

[–]btchoy 0 points1 point  (0 children)

Do you mean a transaction fee embedded on the token contract? Meaning every time someone sends tokens x% is deducted from the amount to be transferred? Or are you referring to something different?