# CKB Anyone-Can-Pay Lock ## Metadata **RFC Number**:: 26 **Status**:: #x **Zettel**:: #zettel/fleeting **Source**:: #from/browser **Created**:: [[2022-09-28]] **Topic**:: [[♯ CKB Script]] **Author**:: [[Xuejie Xiao]] **URL**:: [github.com](https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0026-anyone-can-pay/0026-anyone-can-pay.md) **Host**:: [[github.com]] **Nervos Talk**:: [talk.nervos.org](https://talk.nervos.org/t/rfc-anyone-can-pay-lock/4438) ## Synopsis This RFC describes a new lock script for CKB that can accept any amount of [[CKB Simple UDT|Simple UDT]] or CKB payment. Previously, one can only transfer to another user at least 61 CKBytes when using the default lock, possibly more when using other lock scripts or type scripts. This is becoming a bigger problem when UDT support lands in CKB: a naive UDT transfer operation will not only require UDTs, but CKByte to keep the UDTs in a cell as well. Here we try to solve the problem by introducing a new anyone-can-pay lock script, which can be unlocked not only by the validation of a signature, but also by accepting any amount of payment. This way, a user should be able to send any amount of CKBytes or UDTs to a cell using anyone-can-pay lock instead of always creating a new cell. It thus provides a solution to both problems above.