Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart contract and secret contract #48

Open
levackt opened this issue Dec 14, 2019 · 0 comments
Open

Smart contract and secret contract #48

levackt opened this issue Dec 14, 2019 · 0 comments

Comments

@levackt
Copy link

levackt commented Dec 14, 2019

forum post

After running the demo Millionaire, I am a bit of confused about the difference between smart contract and secret contract.

I understand the secret contract is mainly designed to handle the dapp logic(in the Millionaire demo are how to add_millionaire and compute_richest).

But what’s the function of the smart contract (i.e. Sample.sol and Migrations.sol) ? 🤔

Stan is mostly following Laura's millionaires project, he mentions a Sample contract so I guess he also ran init in this or a new project.

Can and Ainsley have responded but we should also cleanup any unused smart contract code in the project.
We can also refer to the non-fungible token project for example smart + secret contract usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant