# Bazzar ### Order life cycle order lifecycle ## Adapters ### API #### Building adapters Repository contains script which will build all adapters and copy wasm files to `./adapters` directory This script will treat all crates which starts with `payment_adapter_` as a payment adapter ```bash mkdir -p adapters ./scripts/build-adapters ``` ##### `init` | Argument | Result | |-----------------------------------------|--------------------------| | payment_argument::PaymentProviderConfig | payment_argument::Status | * `create_payment` | Argument | Result | |--------------------------------|-------------------------------| | payment_adapter::CreatePayment | payment_adapter::OrderCreated |