Giter Club home page Giter Club logo

decentralized-exchange-trading-scripts's Introduction

Decentralized-Exchange-Trading-Scripts

Here, you'll find a collection of useful scripts designed to automate trading on various decentralized exchanges (DEX). These tools have been meticulously crafted from the ground up, with a focus on building a robust suite of degen-tools.

How Can These Scripts Help You?

If you're looking to set up your own degen toolbox for trading on DEX platforms, you've come to the right place. My scripts can simplify the process and enhance your trading experience.

Are you a crypto enthusiast with unique degen trading ideas? Feel free to connect with me to discuss how these scripts can be tailored to your specific needs.

Your Feedback Matters

We value your feedback! If you're using these scripts, please share your thoughts and suggestions. Your input will play a crucial role in shaping the future development of these tools. I am also planning to create a user-friendly Graphic User Interface (GUI) based on your feedback.

Video Series Coming Soon

Exciting news! I have a video series in the works to provide in-depth guidance on using these scripts effectively. To stay updated, make sure to subscribe to my YouTube Channel

Services

I build crypto bots and on-chain analytics tools that will give you an edge on the market, contact me let's work on your degen toolbox and bring your ideas to life. The more complex and intricate the idea, the better. I love a good challenge!

Contact Information

πŸ’° Support My Work

If these scripts have helped you, please consider supporting my work. Your support will help me continue to develop these tools and create more useful resources for the crypto community.

  • πŸš€ henrytirla.sol: FJRDY392XSyfV9nFZC8SZij1hB3hsH121pCQi1KrvH6b
  • πŸ’° henrytirla.eth: 0x84c8ea2224cDF28b0c02EF1b2F2618dE082030fe
  • πŸ’° BSC/Polygon: 0x84c8ea2224cDF28b0c02EF1b2F2618dE082030fe
  • πŸ’° BTC : 16XtMfS3TeuG4SBXApGsn8Hkp1ZmisPEtc

decentralized-exchange-trading-scripts's People

Contributors

artemyin avatar henrytirla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

decentralized-exchange-trading-scripts's Issues

This doesnt seem to capture all new LP's

Ive been running this over several days and it doesnt appear to capture all new pools.
An example today LP pair 5X4XmtsQguE6jmHXHwvWYwm4HdRYLureUYUw4VXmTb3Y which is a new token GnZmtv9eJFgxcVmKCT3HanANnPgBpjmfiGK6VpwDy4S
it didnt come though.
Im seeing multiple of these a day, is there another log instruction I should be looking for?

Information Query: What is the hash, and how can I get mine??

Hello,
I was going through you CopyTrade-IrrespectiveOfRouter.py . I am unable to understand what is this hash

if logs['address'] == WETH and alchemy.to_hex(logs['topics'][0]) == "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef":

also this hash

elif logs['address'] != WETH:
                if alchemy.to_hex(
                        logs['topics'][0]) == "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925":

can you help me out a bit over here?

how to buy and sell in pump.fun?

How to trade Solana’s tokens? The tokens issued on the pump.fun website are not in the raydium pool. How can I trade them through code?

How it works documentation

It would be great if you could add some documentation to explain how to launch the project and how to use it too.

How can i adjust the fee in your code in order to get priority?

Thank you very much for your code. I'm using the raydium swap and works great, there's a way to adjust the fee to get priority in the transaction? sorry for my english.

EDIT: i did it, just need to add this line in buy/sell functions:

just edit:

from solders.compute_budget import set_compute_unit_price # import this

then:

if swap_token_account_Instructions is not None:
swap_tx.add(swap_token_account_Instructions)
swap_tx.add(set_compute_unit_price(1_0000)) # Add this line, edit amount with your custom fee
swap_tx.add(instructions_swap)
swap_tx.add(closeAcc)

solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage

I get this error when trying to running Solana/Trade/sell_swap.py. How to fix this?

`Traceback (most recent call last):
  File "/Users/anon/Desktop/LOB-bot/Solana/solana_script.py", line 106, in sell
    txn = solana_client.send_transaction(swap_tx, *signers)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniforge/base/envs/freqtrade/lib/python3.11/site-packages/solana/rpc/api.py", line 1059, in send_transaction
    txn_resp = self.send_raw_transaction(txn.serialize(), opts=opts_to_use)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniforge/base/envs/freqtrade/lib/python3.11/site-packages/solana/rpc/api.py", line 993, in send_raw_transaction
    resp = self._provider.make_request(body, SendTransactionResp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniforge/base/envs/freqtrade/lib/python3.11/site-packages/solana/exceptions.py", line 43, in argument_decorator
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniforge/base/envs/freqtrade/lib/python3.11/site-packages/solana/rpc/providers/http.py", line 49, in make_request
    return _parse_raw(raw, parser=parser)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniforge/base/envs/freqtrade/lib/python3.11/site-packages/solana/rpc/providers/core.py", line 97, in _parse_raw
    raise RPCException(parsed)
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Blockhash not found", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(BlockhashNotFound), logs: Some([]), accounts: None, units_consumed: Some(0), return_data: None, inner_instructions: None }) }

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/anon/Desktop/LOB-bot/Solana/solana_script.py", line 162, in <module>
    sell(solana_client,token_toSell,payer, amount_to_sell)
  File "/Users/anon/Desktop/LOB-bot/Solana/solana_script.py", line 145, in sell
    time.sleep(60)
KeyboardInterrupt`

Versions:
solana 0.34.0
solders 0.21.0
python 3.11.7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.