Developers
Wrapped CMP
4min
introduction we are happy to release a simple yet valuable smart contract and portal to help retail and developers convert their cmp tokens into wrapped cmp tokens which follow the erc20 standard this process is called wrapping, and many blockchains have a similar contract wrapped ether (weth) is an example of this contract the caduceus team have followed best practices and deployed a tried and tested smart contract for wrapping cmp you can view the contract here https //cmpscan io/address/0x1fcba3cb797465f38839f48ca7c9cda9d9aac28b https //cmpscan io/address/0x1fcba3cb797465f38839f48ca7c9cda9d9aac28b moreover, the team have created a portal for users to interact with the contract and easily swap between cmp and wcmp the portal can be accessed here https //wrap cmpcoin io https //wrap cmpcoin io portal description users can send cmp to a smart contract which will lock it and return wcmp to them the ratio is 1 1, meaning that one wcmp token will be minted and given to the user for every cmp token locked in the smart contract at any point, the user can return the wcmp and thus withdraw the cmp back into their wallets in essence, 1 cmp will always be worth 1 wcmp so why would anyone do this? most d'apps prefer not to work with the native currency of a protocol (eth or cmp) as it can be quite limiting for example, when creating a liquidity pool between token one and token two, it would be easier for the developer if both tokens were erc20 and thus had the same interface instead of one being an erc20 and the other being a native token like eth or cmp moreover, the erc20 standard allows for extra functionality like the transferfrom function, which enables users to preapprove other contracts to spend their funds on their behalf (often done by decentralised exchanges and other decentralised finance protocols) in the coming months, wcmp will be bridged to other chains and provided as liquidity to liquidity pools in automatic market maker platforms like coinswap and pancake swap creating standards for the community secondly, by creating a caduceus branded portal, we are helping the community converge to a single wcmp standard we recommend that developers use the contract above to ensure they use the correct wcmp standard with the most liquidity otherwise, there will be multiple versions of wcmp which will only fragment the liquidity and make it harder to build good defi products, hence why the foundation and vertex labs have worked together to provide a canonical contract on mainnet for developers to integrate into their products enabling standards helps the entire caduceus ecosystem, leading to a healthier and more vibrant ecosystem for us all to enjoy