@classmethod
def set_shared_blockchain_instance(cls, instance):
    """ This method allows us to override default instance for all
            users of ``SharedInstance.instance``.

            :param chaininstance instance: Chain instance
        """
    cls._sharedInstance.instance = instance
