0g-chain/x/bep3/spec
drklee3 3375484f79
Update deprecated Cosmos methods (#1530)
* Use cosmossdk.io/errors for deprecated error methods

* Update error registration with cosmossdk.io/errors

* Use cosmossdk.io/math for deprecated sdk.Int alias

* Fix modified proto file

* Update sdk.Int usage in swap hooks

* Update e2e test deprecated method usage
2023-04-05 16:21:59 -07:00
..
diagrams [R4R] BEP3 module spec and clean up (#450) 2020-04-23 13:57:25 -07:00
01_concepts.md update bep3 docs for mainnet (#587) 2020-06-15 04:37:28 -04:00
02_state.md Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
03_messages.md update bep3 docs for mainnet (#587) 2020-06-15 04:37:28 -04:00
04_events.md [R4R] Better docs (#541) 2020-06-03 14:54:31 -04:00
05_params.md Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
06_begin_block.md [R4R] Better docs (#541) 2020-06-03 14:54:31 -04:00
README.md update bep3 docs for mainnet (#587) 2020-06-15 04:37:28 -04:00

bep3

  1. Concepts
  2. State
  3. Messages
  4. Events
  5. Params
  6. BeginBlock

Abstract

x/bep3 is a module that handles cross-chain atomic swaps between Kava and blockchains that implement the BEP3 protocol. Atomic swaps are created, then either claimed before their expiration block or refunded after they've expired.

Several user interfaces support Kava BEP3 swaps:

Swaps can also be created, claimed, and refunded using Kava's Javascript SDK or CLI.