setup of ChainNode