Skip to content

Commit

Permalink
refactor: remove ts implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
wisarmy committed Dec 31, 2024
1 parent 9faa3ba commit 01c132b
Show file tree
Hide file tree
Showing 26 changed files with 12 additions and 4,011 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name = "raytx"
version = "0.1.0"
edition = "2021"
build = "build.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -22,7 +21,6 @@ solana-client = "=1.16.27"
solana-sdk = "=1.16.27"
solana-account-decoder = "=1.16.27"
spl-token-client = "=0.7.1"
# raydium-library = { git = "https://github.com/raydium-io/raydium-library" }
amm-cli = { git = "https://github.com/raydium-io/raydium-library" }
common = { git = "https://github.com/raydium-io/raydium-library" }

Expand All @@ -41,7 +39,7 @@ rand = "0.8.5"
indicatif = "0.17.8"
axum = { version = "0.7.5", features = ["macros"] }
tower-http = { version = "0.5.2", features = ["cors"] }
borsh = { version = "1.5.3"}
borsh = { version = "1.5.3" }
borsh-derive = "1.5.3"

[dev-dependencies]
Expand All @@ -50,4 +48,3 @@ ctor = "0.2.8"

[features]
slow_tests = []
swap_ts = []
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
# Raytx

Raytx is a command-line tool written in Rust for performing token swap operations on Raydium.
Raytx is a powerful tool for performing token swap operations on Raydium and Pump.fun, providing both CLI and API interfaces.

## Features

- Command-line interface for quick swaps
- RESTful API service for programmatic access
- Support for buy/sell operations
- Integration with Jito for faster transactions
- Percentage-based selling options

## Project Dependencies

Before getting started, ensure that the following software is installed on your system:

- [Node.js](https://nodejs.org/) If using TS for swap
- [Rust](https://www.rust-lang.org/) version 1.8 or higher.


## Build
```
cargo build -r
```
This will generate an executable file raytx, located in the target/release/raytx.
This will generate an executable file raytx, located in the `target/release/raytx`.

## Using the Command-Line Tool
### Buy
Expand Down
22 changes: 0 additions & 22 deletions build.rs

This file was deleted.

24 changes: 0 additions & 24 deletions raydium/.env.example

This file was deleted.

2 changes: 0 additions & 2 deletions raydium/.gitignore

This file was deleted.

89 changes: 0 additions & 89 deletions raydium/helpers/constants.ts

This file was deleted.

7 changes: 0 additions & 7 deletions raydium/helpers/index.ts

This file was deleted.

43 changes: 0 additions & 43 deletions raydium/helpers/liquidity.ts

This file was deleted.

17 changes: 0 additions & 17 deletions raydium/helpers/logger.ts

This file was deleted.

22 changes: 0 additions & 22 deletions raydium/helpers/market.ts

This file was deleted.

1 change: 0 additions & 1 deletion raydium/helpers/promises.ts

This file was deleted.

23 changes: 0 additions & 23 deletions raydium/helpers/token.ts

This file was deleted.

22 changes: 0 additions & 22 deletions raydium/helpers/wallet.ts

This file was deleted.

Loading

0 comments on commit 01c132b

Please sign in to comment.