@requestnetwork/advanced-logic
is a typescript library part of the Request Network protocol.
It is the default implementation of the Advanced Logic layer. This layer hosts the extensions to the protocol, see Implemented Extensions for the list.
npm install @requestnetwork/advanced-logic
Specifications of Advanced Logic can be found here
This extension allows linking content data to the request. The content data can be used to give extra information about the request. You can find examples of content data format here.
Specifications of Content Data can be found here
This extension allows the payments and the refunds to be made in any currency. The payments and refunds are documented by the payer and the payee of the request.
This extension do not ensure payment detection, only a consensus is made between the payer and the payee.
Specifications of Declarative payments can be found here
This extension allows the payments and the refunds to be made on the Bitcoin blockchain.
Note: this extension can be used with the bitcoin mainnet and testnet.
Specifications of Address based bitcoin payments can be found here
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide