swayswap
swayswap copied to clipboard
Create a way to update contracts without change token id and exchange id
When updating contract binaries, the contract ids will change as expected. And it can lead to bad UX. Currently, in the ETH world, the normal way to do it is by using Proxy Contracts in this way the contract ids never change.
Some ideas;
- Implement a naming system, like ENS (Maybe it should be implemented on another repository)
- With this idea what happens with the current state of the contract, how to transfer it from the old to the new one, etc..
- Implement a Contract Proxy
The current flow we follow when deploying the contracts is;
- Merge the changes on the master branch;
- Deploy the contracts and start a pool;
- Test on the next release on the live master branch link;
- Release the next version.
That's true