        found
        (swap! channels assoc name (-> opts (assoc :name name) (map->Channel)))))))
 
-;; Alias
-(defonce new-channel! new-chain!)
-
 ;;; get_chain
-(defn get-chain
+#_
+(defn get-channel
   "Get a chain instance from the state storage. This allows existing chain instances to be saved
   for retrieval later and to be shared among instances of the application. Note that it's the 
   application/SDK’s responsibility to record the chain information. If an application is not able to

        The target Peer(s) does not know anything about the chain"

  ([name peers]
   (query-chain-info *client* name peers))
  ([client name peers]
   (let [chain (get-chain name)]
     (if (= (get-peers chain) peers)
       (%query-chain-info chain peers)
       (throw (Exception. "The target Peer(s) does not know anything about the chain"))))))

(defonce query-channel-info query-chain-info)

;;;
;;;
(defonce ^:private client-state-store (atom {}))
;;; set_state_store
(defn set-state-store!
  "The SDK should have a built-in key value store implementation (suggest a file-based
  implementation to allow easy setup during development). But production systems would want

   (get @clients k))

 (binding [*client* (find-client 10)]
   (get-channel "bar"))

 (defn make-client! [k]
   (swap! clients assoc k (map->Client {:channels (atom {})})))
