Author

Topic: Can 1 smart contract perform multiple functions or is new contract needed for... (Read 79 times)

jr. member
Activity: 48
Merit: 2
You wouldn't need to display the different themes in the contract itself. You would make your website communicate with the smart contract and then payments come in. Better explained here: https://gist.github.com/Zuchos/082b37c687c38f13a5d15e8f88579d00

It's basically a small ''tutorial'' on how to do what you are basically asking for.

Oh sweet thank you!
hero member
Activity: 1064
Merit: 505
You wouldn't need to display the different themes in the contract itself. You would make your website communicate with the smart contract and then payments come in. Better explained here: https://gist.github.com/Zuchos/082b37c687c38f13a5d15e8f88579d00

It's basically a small ''tutorial'' on how to do what you are basically asking for.
jr. member
Activity: 48
Merit: 2
Can 1 smart contract perform multiple functions or is new contract needed for multiple tasks? For instance, let's say I built en eCommerce store that sold pre-made Wordpress Themes, a digital product. Can I setup just one smart contract that dispenses different themes at different prices or do I need a new contract for every different item, or at the very least, every different priced item? Can the contracts be set to be recurring or do they auto void after one use? I'm kind of researching a lot of this as I go so I may be ignorant in my understanding in how it all works at all and my questions may not even make sense.
Jump to: