Skip to content

Commit 01c132b

Browse files
committed
refactor: remove ts implementation
1 parent 9faa3ba commit 01c132b

26 files changed

Lines changed: 12 additions & 4011 deletions

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = "raytx"
33
version = "0.1.0"
44
edition = "2021"
5-
build = "build.rs"
65

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

@@ -22,7 +21,6 @@ solana-client = "=1.16.27"
2221
solana-sdk = "=1.16.27"
2322
solana-account-decoder = "=1.16.27"
2423
spl-token-client = "=0.7.1"
25-
# raydium-library = { git = "https://github.com/raydium-io/raydium-library" }
2624
amm-cli = { git = "https://github.com/raydium-io/raydium-library" }
2725
common = { git = "https://github.com/raydium-io/raydium-library" }
2826

@@ -41,7 +39,7 @@ rand = "0.8.5"
4139
indicatif = "0.17.8"
4240
axum = { version = "0.7.5", features = ["macros"] }
4341
tower-http = { version = "0.5.2", features = ["cors"] }
44-
borsh = { version = "1.5.3"}
42+
borsh = { version = "1.5.3" }
4543
borsh-derive = "1.5.3"
4644

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

5149
[features]
5250
slow_tests = []
53-
swap_ts = []

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
# Raytx
22

3-
Raytx is a command-line tool written in Rust for performing token swap operations on Raydium.
3+
Raytx is a powerful tool for performing token swap operations on Raydium and Pump.fun, providing both CLI and API interfaces.
4+
5+
## Features
6+
7+
- Command-line interface for quick swaps
8+
- RESTful API service for programmatic access
9+
- Support for buy/sell operations
10+
- Integration with Jito for faster transactions
11+
- Percentage-based selling options
412

513
## Project Dependencies
614

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

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

1219

1320
## Build
1421
```
1522
cargo build -r
1623
```
17-
This will generate an executable file raytx, located in the target/release/raytx.
24+
This will generate an executable file raytx, located in the `target/release/raytx`.
1825

1926
## Using the Command-Line Tool
2027
### Buy

build.rs

Lines changed: 0 additions & 22 deletions
This file was deleted.

raydium/.env.example

Lines changed: 0 additions & 24 deletions
This file was deleted.

raydium/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

raydium/helpers/constants.ts

Lines changed: 0 additions & 89 deletions
This file was deleted.

raydium/helpers/index.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

raydium/helpers/liquidity.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

raydium/helpers/logger.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

raydium/helpers/market.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)