Skip to content

How to use this alongside a hardhat project? #186

Closed Answered by PaulRBerg
izcoser asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! there's another discussion (#132) about whether it would be worth it to add smart contract development. But as of now, the answer is that CEA doesn't support that by default.

What I personally recommend is to avoid maintaining the smart contracts and the frontend code under the same roof. It's easier to separate them into two or more repositories because they have little in common. You shouldn't need hot reloading to test your contracts - your contracts should be tested programmatically to give the best security guarantees for your users.

The "contracts" folder that CEA generates is a frontend-only linkage folder. It's a directory with the smart contract ABIs and the addresses - no So…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@izcoser
Comment options

Answer selected by izcoser
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants