Install as an npm package using the following command:
npm install [email protected]:Espanicon/icon-bridge-sdk-js.git
In this folder you can find a set of example code files showing how to use the IconBridgeSDK
in different scenarios (i.e for a Node.js application or in a React web app, etc). Most of the example files need for you to add a valid public and/or private key for the ICON or the BSC chains (depending on the example file.).
- Calling a readonly method for the ICON side of the bridge inside a Node.js application. Example file.
- Calling a readonly method for the BSC side of the bridge inside a Node.js application. Example file.
- Signing a transaction for a method for the ICON side of the bridge inside a Node.js application. Example file.
- Signing a transaction for a method for the BSC side of the bridge inside a Node.js application. Example file.
- Calling a readonly method for the ICON side of the bridge inside a React webapp. Example file.
- Calling a readonly method for the BSC side of the bridge inside a React webapp. Example file.
- Calling a pre-signage method for the ICON side of the bridge inside a React application. Example file.
- Calling a pre-signage method for the BSC side of the bridge inside a React application. Example file.