The client library deploys the smart contract on setup from a quick glance - here is the compiled byte code of this contract in the library:

https://github.com/toncenter/tonweb/blob/master/src/contract/payments/PaymentChannel.js#L41

Jul 2, 2022, 8:59 AM
Another interesting thing to know is that the entire logic of payment channels is just in this smart contract and the client library. I don’t believe TON node core was changed to add any special support. This feature could have been added to TON by any third party
Jul 2, 2022, 9:04 AM

© 2024 Draquery.com All rights reserved.