how_to_create_channel
create channel
sequenceDiagram
participant user as Alice
participant photon as photon
participant spectrum
user->>photon:create channel between Alice and Bob
photon->> spectrum: call Mesh Token to Approve TokensNetwork
Note right of photon: this Tx takes about 30 seconds
photon->>photon: wait Approve Tx packaged
photon->> spectrum: call TokensNetwork to open channel
Note right of photon: this Tx takes about 30 seconds
photon->>photon: wait openChannel Tx packaged
photon->>user: channel created