initial support for uploadChain