Skip to content

Golang-based wallet server designed to handle high loads and allow users to send batches of up to 250 transactions per request on the TON.

Notifications You must be signed in to change notification settings

shibdev/highload-wallet-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Highload Wallet Server for TON

Features

High load handling capabilities Ability to send batches of up to 250 transactions per request.

  • RESTful API for easy integration with other applications

Installation

  1. Clone the repository: git clone https://github.com/your_username/your_repository.git
  2. Install dependencies: go mod download
  3. Run the server on port 8888: go run main.go

Usage

The server exposes a RESTful API with the following endpoint:

/sendTransactions

  • POST /sendTransactions - Send transactions to other TON users

Request

Query parameter:

  • send_mode: string value representing the send mode. It can have the following values:
    • 0 - Ordinary message
    • 64 - Carry all the remaining value of the inbound message in addition to the value initially indicated in the new message
    • 128 - Carry all the remaining balance of the current smart contract instead of the value originally indicated in the message

Request body:

  • JSON serialized dictionary containing the address of the user as the key and amount in Tons as the value.

Example:

{
    "address1": 10.5,
    "address2": 777.7,
    "address3": 1337.7
}

Contribution

Pull requests and suggestions are welcome on @qpwedev telegram.

Thank you for using TONFT | NFT Bazaar!

About

Golang-based wallet server designed to handle high loads and allow users to send batches of up to 250 transactions per request on the TON.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%