https://github.com/yllvar/-sui-batchpayment-
Another walkaround to perfrom bundling tx on SUI network using Move. Group multiple payment transfers into a single transaction to reduce gas fees.
https://github.com/yllvar/-sui-batchpayment-
Last synced: 4 months ago
JSON representation
Another walkaround to perfrom bundling tx on SUI network using Move. Group multiple payment transfers into a single transaction to reduce gas fees.
- Host: GitHub
- URL: https://github.com/yllvar/-sui-batchpayment-
- Owner: yllvar
- Created: 2024-12-16T03:39:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-16T13:21:38.000Z (over 1 year ago)
- Last Synced: 2025-02-17T23:42:00.909Z (over 1 year ago)
- Language: Move
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# -SUI-BatchPayment-
Another walkaround to perfrom bundling tx on SUI network using Move. Group multiple payment transfers into a single transaction to reduce gas fees.
Set up your environment and project structure to implement a **Move-based batch transaction solution** for SUI. This includes creating a production-ready script to batch buy tokens and handle private keys for signing transactions.
---
### **Step 1: Install Required Tools**
1. **Install Rust**
SUI requires Rust for Move development. Install Rust using the following command:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
After installation, add Rust to your shell:
```bash
source $HOME/.cargo/env
```
2. **Install SUI CLI**
Clone the SUI repository and build the CLI:
```bash
git clone https://github.com/MystenLabs/sui.git
cd sui
cargo build --release
```
Add the binary to your PATH:
```bash
export PATH="$PWD/target/release:$PATH"
```
3. **Install Python**
For scripting and automation, ensure you have Python 3.9 or later. Use `brew` to install:
```bash
brew install python
```
4. **Install Required Python Packages**
Use `pip` to install necessary libraries:
```bash
pip install requests cryptography
```
---