{"id":21822164,"url":"https://github.com/stylepatrick/trontriggersmartcontract","last_synced_at":"2026-04-28T00:32:45.271Z","repository":{"id":120903191,"uuid":"356414414","full_name":"stylepatrick/tronTriggerSmartContract","owner":"stylepatrick","description":"Send x TRX coins and triggers a smart contract with Spring Boot 2. There are two main functions. Trigger smart contract on single address manually via rest API, or asynchronous via planned scheduler on multiply addresses from a .csv file.","archived":false,"fork":false,"pushed_at":"2021-12-19T18:23:20.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-15T22:25:27.361Z","etag":null,"topics":["cryptocurrency","smart-contracts","spring-boot","transactions","triggers","tron","trx","trx-coins"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stylepatrick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-09T22:38:27.000Z","updated_at":"2023-12-09T09:45:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ede4963-7ffa-4a83-aa13-cea53036e76b","html_url":"https://github.com/stylepatrick/tronTriggerSmartContract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stylepatrick/tronTriggerSmartContract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2FtronTriggerSmartContract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2FtronTriggerSmartContract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2FtronTriggerSmartContract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2FtronTriggerSmartContract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stylepatrick","download_url":"https://codeload.github.com/stylepatrick/tronTriggerSmartContract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2FtronTriggerSmartContract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32361477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptocurrency","smart-contracts","spring-boot","transactions","triggers","tron","trx","trx-coins"],"created_at":"2024-11-27T17:13:26.494Z","updated_at":"2026-04-28T00:32:45.256Z","avatar_url":"https://github.com/stylepatrick.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tronTriggerSmartContract\n\nSend x TRX coins and triggers a smart contract with Spring Boot 2. There are two main functions. Trigger smart contract on single address manually via rest API, or asynchronous via planned scheduler on multiply addresses from a .csv file.\n\n#### 1. Trigger a smart contract with the rest API:\n\nSend x TRX coins from the main address to the trigger address and triggers a given smart contract function.\n   \n1. Sends x TRX from mainAddress to triggerAddress\n2. Wait n seconds\n3. Trigger a smart contract on the triggerAddress\n4. Get new balance on triggerAddress and sends whole amount back to mainAddress \n   \nExample Post Request (/api/trigger)\n```\n{\n    \"mainAddress\": {\n        \"address\": \"address\",\n        \"privateKey\": \"privateKey\",\n        \"permissionId\": permissionId\n    },\n    \"triggerAddress\": {\n        \"address\": \"address\",\n        \"privateKey\": \"privateKey\",\n        \"permissionId\": permissionId\n    },\n    \"contractAddress\": \"smartContractAddress\",\n    \"amount\": exchangeAmount,\n    \"callValue\": callValue,\n    \"feeLimit\": feeLimit,\n    \"function\": \"function()\",\n    \"parameter\": \"\"\n}\n```\n\n#### 2. Trigger smart contract on multiply wallets given from a .csv file if balance on smart contract is available: \n\nThere is a scheduler running every 30s which checks the balance on the smart contract address.\n\nIf the balance is \u003e 1000 TRX then:\n1. Sends x TRX from mainAddress to triggerAddress\n2. Wait n seconds\n3. Trigger a smart contract on the triggerAddress\n4. Get new balance on triggerAddress and sends whole amount back to mainAddress \n   \nThis steps will start asynchronous on all addresses given in the .csv file. \nWhen every address in the .csv list is done the functions are re-startable via a rest API endpoint (/inspector/reset).\n\n#### DockerHub\n\nhttps://hub.docker.com/repository/docker/stylepatrick/tron-trigger-smart-contract\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylepatrick%2Ftrontriggersmartcontract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstylepatrick%2Ftrontriggersmartcontract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylepatrick%2Ftrontriggersmartcontract/lists"}