5.5 Development SDK and Examples
5.5.1 BSN Gateway SDK Example
Normally, if an off-BSN system wants to communicate with a permissioned DApp service on BSN, it has to call the public city nodes (PCN) gateway APIs. We provide a BSN Gateway SDK (Software Development Kit) which can help developers quickly implement an off-BSN system to call the PCN Gateway. Inside the SDK, we provide PCN gateway API encapsulation which you can use to implement the transaction querying, transaction interface calling, generate public key and private key locally, register user certificate, generate certificate signature, encrypt and decrypt data, etc.