- Clone the repository:
git clone https://github.com/ipromise2324/highload-wallet-contract-v3.git
- Install the dependencies:
npm install
- Build the project:
npm run build
npm run test
-
Copy the example environment file:
cp .env.example .env
-
Edit the
.env
file and fill in yourMNEMONIC
. -
Once you have filled in the
.env
, you can directly select theMnemonic
when running the scripts. -
Deploy the Highload Wallet:
npm run start deployHighloadWallet
-
After deploying the highload-wallet-v3, record the address. You will need it for running the send message scripts.
To send an internal message, you can adjust the content of sendTransfer.ts
. The current code is set up to perform a simple TON transfer.
-
Open
sendTransfer.ts
and modify it as needed for your transaction requirements. -
Run the script to send the transfer:
npm run start sendTransfer
To send batch messages, you can adjust the content of sendBatch.ts
. The current code is set up to batch multiple TON transfers.
-
Open
sendBatch.ts
and modify it as needed for your batch transaction requirements. -
Run the script to send the batch messages:
npm run start sendBatch
Note: Ensure your highload-wallet-v3 has enough TON to cover the transactions when sending messages.