If I have an old coin based on BTC-CORE (sha256) Bitcoin 0.8.2 BETA
My goal is to setup an erc20 contract in order to swap those old coins into erc20 ones. (Switching to erc20 because of security issues).
Is there any function defined to accomplish such goal?