blockful-io / swaplace-contracts

Swaplace is an open-source, ownerless and feeless token swap protocol
https://app.swaplace.xyz/
MIT License
33 stars 33 forks source link

feat: add foundry framework (hybrid project) #138

Closed luislucena16 closed 9 months ago

luislucena16 commented 9 months ago

the objective and what it allows is:

0xneves commented 9 months ago

We debated this a lot and honestly I rather it would be in Foundry, but since the purpose of Swaplace is not to dive too deep but rather find a solid state that everyone can read. People still kinda freak out with Rust 😄

Foundry is the next-level tool while Hardhat is more widely known, it's kinda easy for newcomers.

We are wrapping up the Chain Link Hackathon and will deliver the Swaplace+CCIP using Foundry.

luislucena16 commented 9 months ago

I agree with your criteria, that's why I mentioned using a hybrid model, since there is a library that provides the facility and there are no problems. Maybe some will contribute in foundry and others in hardhat

0xneves commented 9 months ago

We are using Echidna for the Fuzz and I think it covers the Foundry for this simple case. I'm closing this for now. It will resurrect in the future, I'm pretty sure.