Using Horizon Bridge SDK

You can work with the bridge in automatic mode or call each action yourself (step-by-step mode)

SDK setup

1,2 items - Common for both modes

1. Install and configure Bridge SDK

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-install.md​

2. Configure the used wallet

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-set-wallet.md​

Send in Automatic mode

Recommended for most cases (you don't need to dive into bridge design to use it)

3. Send Tokens in auto mode

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-auto-operation.md​

Send in Step by step mode (since sdk v2.0.0)

4-6. Step by step mode - recommended for developers who know bridge desin and want more control when interacting with the bridge

4. Send Tokens in step by step mode (version 2)

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-step-by-step-operation.md​

5. Call client contract methods (step by step mode)

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-call-contract-methods.md​

6. Monitoring operation status (step by step mode)

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-monitoring-operation.md​

7. Other SDK methods

​https://github.com/harmony-one/docs-home/blob/master/developers/learn/tutorials/bridge-sdk-other.md​