Adapting for Ethereum as a library style:
 + double chain loading but solved