Answer the question
In order to leave comments, you need to log in
How to sell links through an Ethereum smart contract?
Hello.
I read about smart contracts, but did not quite understand.
There is data
a = {
'2': 'http://site.ru',
'1': 'http://test.ru',
}
Answer the question
In order to leave comments, you need to log in
You will not be able to directly implement the storage and transmission of data completely on contracts (it is possible to apply some kind of homomorphic encryption here, I xs), because the data will be in the open.
Therefore, the only way is to track payment events in your application and react accordingly.
Your contract should be just a tool for users to tell what product (link) they want to receive, along with a payment transaction, and after that your service could send the purchased information to the address of the payer in a normal message transaction.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question