Bitcoin Forum
May 05, 2024, 02:42:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Smart contracts with USDT on the TRC20  (Read 112 times)
bigturtle88 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 29, 2022, 05:04:04 PM
 #1

I am new to smart contracts. I have a task to create a hybrid smart contract for the Tether token in the Tron network.
Is it possible to create smart contracts with USDT on the TRC20 network?
Possibly provide detailed information. I couldn't find.
1714876977
Hero Member
*
Offline Offline

Posts: 1714876977

View Profile Personal Message (Offline)

Ignore
1714876977
Reply with quote  #2

1714876977
Report to moderator
1714876977
Hero Member
*
Offline Offline

Posts: 1714876977

View Profile Personal Message (Offline)

Ignore
1714876977
Reply with quote  #2

1714876977
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714876977
Hero Member
*
Offline Offline

Posts: 1714876977

View Profile Personal Message (Offline)

Ignore
1714876977
Reply with quote  #2

1714876977
Report to moderator
1714876977
Hero Member
*
Offline Offline

Posts: 1714876977

View Profile Personal Message (Offline)

Ignore
1714876977
Reply with quote  #2

1714876977
Report to moderator
bitkanu
Hero Member
*****
Offline Offline

Activity: 2184
Merit: 513


Moonbet.io | Web3 Casino


View Profile
April 29, 2022, 09:29:21 PM
 #2

What do you meant in this case? did you wanna create a new contract for tether or what? You could simply saying what's your purpose behind the creation of the new smartcontract but yeah when you are talking about hybrid USDT just forget it. We have tether company as the trusted party to issue the tether and it's owned the real smartcontract of USDT. Anyother smartcontract being created by others like you which has no trust from can be considered as a copy cat tokens that must be blacklisted. It's possible to create a token with the same name like USDT but what about its demand. can it be the same like real USDT? it can't

       ▒▒▒▒▓███▓▒▒▒▒     
    ▓██▓▓█████████▓▓██▒ 
   ███████▓▓░░░▓▓███████
  ▓▓▓██▓          ░███▓▓▓
 ▒▓▒██▒       ░▓█   ██▒▓▒
▒▓▓▓▒       ▓███    ▓▓▓
████     █████░     ████
████▓░  ██████▓      ████
▒▓▓▓██▒    ████▓     ░▓▓▓
 ▒▓▒███▓▒▒▓░ ▓█      ██▒▓░
  ▓▓▓██████▒       ▓██▓▓▓
   ▓████████░░░██▓█████
    ▒██▓▓▓████████▓▓██░ 
       ░▒▒▒▓█▓█▓▒▒▒       
.MOONBET.||       ▒▒▒▒▓███▓▒▒▒▒     
    ▓██▓▓█████████▓▓██▒ 
   ███████▓▓░░░▓▓███████
  ▓▓▓██▓          ░███▓▓▓
 ▒▓▒██▒       ░▓█   ██▒▓▒
▒▓▓▓▒       ▓███    ▓▓▓
████     █████░     ████
████▓░  ██████▓      ████
▒▓▓▓██▒    ████▓     ░▓▓▓
 ▒▓▒███▓▒▒▓░ ▓█      ██▒▓░
  ▓▓▓██████▒       ▓██▓▓▓
   ▓████████░░░██▓█████
    ▒██▓▓▓████████▓▓██░ 
       ░▒▒▒▓█▓█▓▒▒▒       
█▀▀▀











▀▀▀▀
> TWITTER
> MEDIUM
> INSTAGRAM
> TELEGRAM
▀▀▀█











▀▀▀▀
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
April 29, 2022, 09:51:57 PM
 #3

Is it possible to create smart contracts with USDT on the TRC20 network?
You cannot deploy a Tron smart contract using USDT. That is not how its works! TRC20 exists within the Tron ecosystem, thus the underlying currency to deploy the token is by using TRX.

There is a guide to issue a TRC20 tokens on their site, you should refer to their documentation: https://developers.tron.network/docs/issuing-trc20-tokens-tutorial
bigturtle88 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 29, 2022, 10:47:10 PM
 #4

What do you meant in this case? did you wanna create a new contract for tether or what? You could simply saying what's your purpose behind the creation of the new smartcontract but yeah when you are talking about hybrid USDT just forget it. We have tether company as the trusted party to issue the tether and it's owned the real smartcontract of USDT. Anyother smartcontract being created by others like you which has no trust from can be considered as a copy cat tokens that must be blacklisted. It's possible to create a token with the same name like USDT but what about its demand. can it be the same like real USDT? it can't
Thanks for the quick response. I want to use this currency because it is a stablecoin. My task is to be able to transfer this coin from wallet to wallet when selling goods. That is, the transfer of goods must be sewn into the contract. Is there such a possibility?
bigturtle88 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 30, 2022, 11:42:44 AM
 #5

Is it possible to create smart contracts with USDT on the TRC20 network?
You cannot deploy a Tron smart contract using USDT. That is not how its works! TRC20 exists within the Tron ecosystem, thus the underlying currency to deploy the token is by using TRX.

There is a guide to issue a TRC20 tokens on their site, you should refer to their documentation: https://developers.tron.network/docs/issuing-trc20-tokens-tutorial
Can I use tronweb to automate orders???
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
April 30, 2022, 01:15:45 PM
 #6

My task is to be able to transfer this coin from wallet to wallet when selling goods. That is, the transfer of goods must be sewn into the contract. Is there such a possibility?
What kind of "goods" you are referring to?

Can I use tronweb to automate orders???
Tronweb seems like the app library that would do the job. But I still didn't understand what are you trying to do. Do you try to implement a smart contract for your business process or you just casually try to accept USDT TRC20 as a way of payments?
$anounimus$
Sr. Member
****
Offline Offline

Activity: 1736
Merit: 294


★Bitvest.io★ Play Plinko or Invest!


View Profile
April 30, 2022, 01:28:26 PM
 #7

In my opinion, you can use Tether, and any other stable coin, with a smart contract on the Tron network. Tether (USDT) is one of the most widely used stable coins on the market today, and it's precisely because of how widely it's accepted by other exchanges and financial applications. This widespread adoption is exactly why you can easily bring USDT into your smart contract.



BIG WINNER!
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░▄███
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████
██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░
▀██░▄▄▄▄░████▄▄██▄░░░░
▄████████████▀▀▀▀▀▀▀██▄
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄
▀██░████████░███████░█▀
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████
▀████████████████████▀




Rainbot
Daily Quests
Faucet
bigturtle88 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 30, 2022, 05:16:26 PM
 #8

Since I like startups and study smart contracts. I want to create a digital goods exchange. The user pays for the goods, after which the seller sends the goods by mail. The smart contract sends money to the seller, and the exchange receives a percentage for the service. Payouts are made in usdt of the tron ​​network.

 I understand that I can use tronweb and receive money to an intermediate wallet from which to pay out. But I wanted to use smart contract. To learn this technology.
bigturtle88 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 30, 2022, 05:33:17 PM
 #9

In my opinion, you can use Tether, and any other stable coin, with a smart contract on the Tron network. Tether (USDT) is one of the most widely used stable coins on the market today, and it's precisely because of how widely it's accepted by other exchanges and financial applications. This widespread adoption is exactly why you can easily bring USDT into your smart contract.
usdt is a token, is it possible to manage this through a smart contract?
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
April 30, 2022, 06:43:54 PM
 #10

I want to create a digital goods exchange. The user pays for the goods, after which the seller sends the goods by mail. The smart contract sends money to the seller, and the exchange receives a percentage for the service. Payouts are made in usdt of the tron ​​network.
That scenario can't solely depend and rely on smart contracts, a need for an intermediary is required.

How could the smart contract know the goods have been sent and received smoothly, there is no way to achieve that. Even if you connect a smart contract to a shipping service API, it wouldn't solve the issue since there is a risk that the sender is fraudulent.

About that issue, the only thing I can suggest is try to comprehend how Bisq manage a dispute: https://bisq.wiki/Dispute_resolution
bigturtle88 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 30, 2022, 07:14:43 PM
 #11

I want to create a digital goods exchange. The user pays for the goods, after which the seller sends the goods by mail. The smart contract sends money to the seller, and the exchange receives a percentage for the service. Payouts are made in usdt of the tron ​​network.
That scenario can't solely depend and rely on smart contracts, a need for an intermediary is required.

How could the smart contract know the goods have been sent and received smoothly, there is no way to achieve that. Even if you connect a smart contract to a shipping service API, it wouldn't solve the issue since there is a risk that the sender is fraudulent.

About that issue, the only thing I can suggest is try to comprehend how Bisq manage a dispute: https://bisq.wiki/Dispute_resolution
thanks.

Let it be on the conscience of the intermediary and the client. This is another problem. I have another solution for her. I just need to get data from api. So I can make a smart contract for usdt?
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
April 30, 2022, 07:20:32 PM
 #12

Let it be on the conscience of the intermediary and the client.
Integrating conscience into how your smart contract works is absurd.

So I can make a smart contract for usdt?
The link I referred above about the Tron developers' documentation should answered your question. Just take a look over there.
noorman0
Hero Member
*****
Offline Offline

Activity: 1764
Merit: 694


[Nope]No hype delivers more than hope


View Profile WWW
April 30, 2022, 08:36:17 PM
 #13

So I can make a smart contract for usdt?

Given how exchanges work, it probably works. But in your case it seems a bit complicated because you are here as an intermediary between 2 interacting clients. (I dunno) it seems I've heard of this idea on this forum and I don't think using smart contracts alone will be enough for some cases like defective items handling. And keep in mind that transactions involving blockchain are irreversible, you may be at risk at this point.

This space for rent.
Available in mid January 2024 - PM me
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!