channel->code localstorage