Open Anarchism-Noob opened 1 month ago
hi @Anarchism-Noob Currently, there is only java-version SDK for java-tron; in the short term, seems no exact plan to develop the rust version SDK. but it depends. if the community has more Consensus on providing the rust version toolkit. which may have a plan for this.
hi @Anarchism-Noob Currently, there is only java-version SDK for java-tron; in the short term, seems no exact plan to develop the rust version SDK. but it depends. if the community has more Consensus on providing the rust version toolkit. which may have a plan for this.
I'm currently writing a web project using the Salvo-rs framework, and for security reasons I need to generate bills using TRC-20. This is similar to the Web 3 payments for the https://axum.rs/subject/mall project. How do I fulfill this requirement now without tron-rs?
hi @Anarchism-Noob Currently, there is only java-version SDK for java-tron; in the short term, seems no exact plan to develop the rust version SDK. but it depends. if the community has more Consensus on providing the rust version toolkit. which may have a plan for this.
I'm currently writing a web project using the Salvo-rs framework, and for security reasons I need to generate bills using TRC-20. This is similar to the Web 3 payments for the https://axum.rs/subject/mall project. How do I fulfill this requirement now without tron-rs?
If I understand your comments correctly. your requirements include interacting with java-tron to fulfill features like send trc-20 txs(eg: USDT txs), query tx/block result,s and so on. I think there are 2 ways to try. 1.Tron provides a complete set of http APIs, which you can use this APIs to fulfill your requirements. As we know, the Http JSON APIs are not tied to some specific language, which means you can use any language to call this API check the details here:https://developers.tron.network/reference/full-node-api-overview
hi @Anarchism-Noob Currently, there is only java-version SDK for java-tron; in the short term, seems no exact plan to develop the rust version SDK. but it depends. if the community has more Consensus on providing the rust version toolkit. which may have a plan for this.
I'm currently writing a web project using the Salvo-rs framework, and for security reasons I need to generate bills using TRC-20. This is similar to the Web 3 payments for the https://axum.rs/subject/mall project. How do I fulfill this requirement now without tron-rs?
If I understand your comments correctly. your requirements include interacting with java-tron to fulfill features like send trc-20 txs(eg: USDT txs), query tx/block result,s and so on. I think there are 2 ways to try. 1.Tron provides a complete set of http APIs, which you can use this APIs to fulfill your requirements. As we know, the Http JSON APIs are not tied to some specific language, which means you can use any language to call this API check the details here:https://developers.tron.network/reference/full-node-api-overview 2. trident uses grpc-java to integrate with java-tron grpc endpoints. You can use the rust version grpc SDK like hyperium/tonic to achieve the same result as trident-java does. You can find the proto files in the project.
Thanks for your reply, I think I will try both options. But my English is very poor, do you have any plans to restore Chinese Docs? Simplified Chinese or Traditional Chinese would be fine
hi @Anarchism-Noob Currently, there is only java-version SDK for java-tron; in the short term, seems no exact plan to develop the rust version SDK. but it depends. if the community has more Consensus on providing the rust version toolkit. which may have a plan for this.
I'm currently writing a web project using the Salvo-rs framework, and for security reasons I need to generate bills using TRC-20. This is similar to the Web 3 payments for the https://axum.rs/subject/mall project. How do I fulfill this requirement now without tron-rs?
If I understand your comments correctly. your requirements include interacting with java-tron to fulfill features like send trc-20 txs(eg: USDT txs), query tx/block result,s and so on. I think there are 2 ways to try. 1.Tron provides a complete set of http APIs, which you can use this APIs to fulfill your requirements. As we know, the Http JSON APIs are not tied to some specific language, which means you can use any language to call this API check the details here:https://developers.tron.network/reference/full-node-api-overview 2. trident uses grpc-java to integrate with java-tron grpc endpoints. You can use the rust version grpc SDK like hyperium/tonic to achieve the same result as trident-java does. You can find the proto files in the project.
One more thing, can I use QR code on the payment page if I use Http JSON API solution? Just like you can use QR code when i buy a game on Steam and choose Alipay payment.
you can use popular qrcode lib like nayuki/QR-Code-generator to transfer the trc-20 address to qr code ; which may look like this:
import QRCodeLibrary
function generateQRCode(trc20Address):
qr = QRCodeLibrary.createQRCode(trc20Address)
return qr
trc20Address = "Your TRC-20 Address"
generatedQRCode = generateQRCode(trc20Address)
// show the qrcode to users
you can use popular qrcode lib like nayuki/QR-Code-generator to transfer the trc-20 address to qr code ; which may look like this:
import QRCodeLibrary function generateQRCode(trc20Address): qr = QRCodeLibrary.createQRCode(trc20Address) return qr trc20Address = "Your TRC-20 Address" generatedQRCode = generateQRCode(trc20Address) // show the qrcode to users
Thank you very much for your reply. Is there any plan to restore Chinese Docs?
you can use popular qrcode lib like nayuki/QR-Code-generator to transfer the trc-20 address to qr code ; which may look like this:
import QRCodeLibrary function generateQRCode(trc20Address): qr = QRCodeLibrary.createQRCode(trc20Address) return qr trc20Address = "Your TRC-20 Address" generatedQRCode = generateQRCode(trc20Address) // show the qrcode to users
Thank you very much for your reply. Is there any plan to restore Chinese Docs?
I just checked the latest updates/news/announcements. also, I just reached out to their support team. seems like Tron has no plan to release the chinese version doc.
you can use popular qrcode lib like nayuki/QR-Code-generator to transfer the trc-20 address to qr code ; which may look like this:
import QRCodeLibrary function generateQRCode(trc20Address): qr = QRCodeLibrary.createQRCode(trc20Address) return qr trc20Address = "Your TRC-20 Address" generatedQRCode = generateQRCode(trc20Address) // show the qrcode to users
Thank you very much for your reply. Is there any plan to restore Chinese Docs?
I just checked the latest updates/news/announcements. also, I just reached out to their support team. seems like Tron has no plan to release the chinese version doc.
Oh, this is very sad news.
I'm sorry, I couldn't find anywhere else to submit this request.