libevm / subway

A practical example on how to perform sandwich attacks on Ethereum
MIT License
2.14k stars 534 forks source link

Yulp Contract deployement #17

Closed usamagujjar1122 closed 1 year ago

usamagujjar1122 commented 1 year ago

I am facing lots of issues in deploying yulp contract to etherium chain. Can you code and publish a solidity contract?

libevm commented 1 year ago

skill issue

usamagujjar1122 commented 1 year ago

I don't think soo! I compiled with npm run compile in src/contracts . I created a deploy.js file that uses .abi and .bytecode from "out" folder to deploy to etherium chain. It returns error INVALID ABI. When I replaces abi with [], Contract was deployed but transactions are always reverted. I searched for contracts with similar bytecode on etherium chain and found 3 contracts. None of them succeed in performing even a single transaction. Also one contarct from them deposited 0.01WETH but failed to transact function recoverETH.

Shall we transfer funds to contract to make it work?

Also I switched logic from sandwich contract to directly buying from my wallet. Bundle was submitted to flasbot but no transactions were actually peroformed.

Can you ellaborate?

htkcodes commented 1 year ago

u have a skill issue.. get gud.