Simple program to make token offers to any bidder that can satisfy the constraints.
This program is stateless. It is up to the maker to advertise. It uses the PDA as a one way hash of the offer that the maker wants to create. The maker then only needs to approve their token to the PDA address for the taker to receive the items. The maker doesn't need to be online to complete the transaction, but needs to advertise the offer off-chain.
- compute the offer PDA
- approve the token delegation for the amount to the PDA
- publish the offer off-chain
- Create the offer TX
- Submit the TX to the stateless-offer program
To cancel, the maker simply needs to cancel the delegation.
The repository README contains information about program audits.