This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.2' | |
services: | |
rabbitmq: | |
image: rabbitmq:management | |
tty: true | |
container_name: 'rabbitmq' | |
environment: | |
- RABBITMQ_DEFAULT_USER=rabbitmq-administrator | |
- RABBITMQ_DEFAULT_PASS=AMINrabbitmqstronpasswordALIZADEH | |
ports: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run -d --hostname rabbitmq.tx --name rabbitmq -e RABBITMQ_DEFAULT_USER="rabbitmq-administrator" -e RABBITMQ_DEFAULT_PASS="AMINrabbitmqstronpasswordALIZADEH" rabbitmq:3-management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get latest transaction of tron (TRC20 Tokens Like USDT) | |
const tatumURL = 'https://api.tatum.io/v3'; // https://tatum.io : Get more info and read docs and get a free api key! | |
const axiosRequestConfig: AxiosRequestConfig = { | |
headers: { 'x-api-key': 'TATUM_API_KEY' }, | |
}; | |
const address = 'TRON_ACCOUNT_ADDRESS'; // you can get from trust wallet or generate by your self | |
const { data } = await axios.get( | |
`${tatumURL}/tron/transaction/account/${address}/trc20`, | |
axiosRequestConfig, | |
); |