
The Web Monetization template includes the Web Monetization extension and it will automatically set up the payment pointer in the generated webpage for your game:Īdd your payment pointer to the Web Monetization section of the game.project file: If you are starting a new project it is recommended that you use the Web Monetization project template from the Defold editor Welcome screen.

Start by registering for a Web Monetization enabled wallet and copy your payment pointer as you will need it when you configure your Defold project. The steps involved depend on if you are adding Web Monetization to an existing project or if you are starting a new project.

The format of a payment pointer is similar to a URL, but starts with a $:Įnabling Web Monetization in a Defold game is a straightforward process. The payment pointer is a public address for a wallet that can be shared with anyone that wants to make a payment to the owner of the wallet. The wallet provider will assign a payment pointer to the wallet. There are several different services which provide wallets with support for Web Monetization: Game developers must have a Web Monetization enabled wallet to hold received payments. Players must have an account with a Web Monetization Provider to be able to stream payments to game developers:Ĭoil is currently the only provider but others will likely be available in the future

Web Monetization is an open technology that allows someone viewing a webpage or playing a web game to stream very small payments (micropayments) to the creator in real time.
