Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Release process

Describe our release process

Update releases in pom and check tests are passing.

  • x402-commons

    • Intellij / analyse / inspect code

    • Check TODO list

    • just run_tests

    • just run_install

  • x402-java-client

    • Intellij / analyse / inspect code

    • Check TODO list

    • Change mogami.commons.version to latest snapshot.

    • just run_tests

    • just run_install

  • x402-spring-boot-starter

    • Intellij / analyse / inspect code

    • Check TODO list

    • Change mogami.commons.version to latest snapshot.

    • Change mogami.java-client.version to latest snapshot.

    • just run_tests

    • just run_install

  • x402-facilitator

    • Intellij / analyse / inspect code

    • Check TODO list

    • Change mogami.commons.version to latest snapshot.

    • Change mogami.java-client.version to latest snapshot.

    • just run_tests

    • just build_docker_image

  • x402-example-server

    • Intellij / analyse / inspect code

    • Check TODO list

    • Change mogami.spring-boot-starter.version to latest snapshot.

    • Change mogami.java-client.version to latest snapshot.

Run a payment with a local facilitator on Base Sepolia.

Start a local docker facilitator:

Get the example projet and run the tests with:

You can check the balance of our two test addresses here: - 0xf6b42050A71Ca13f842eDa53C7d31B7C1BD94F6E (payer) - 0x375605671ddA2d461E333Cfa51F5b53763E8C585 (provider)

You can check the payment on the facilitator debug console : http://localhost:4020.

Run a payment with a local facilitator on Base Mainnet.

Start a local docker facilitator:

Open a terminal and set the sender private key with this command:

The presence of TIP_PRIVATE_KEY will force the example application to call the /tip api and pay for it. In the example project, just run the application with:

You can check the balance of our two test addresses here: - 0x375605671ddA2d461E333Cfa51F5b53763E8C585 (payer) - 0x2306e12F56e45E698bFAfa9c5E7D4e77cDEb4d06 (provider)

You can check the payment on the facilitator debug console : http://localhost:4020.

Release and update projects in that order

For each project use the two commands:

and

Run a payment with hosted facilitator on Base Sepolia.

Warning: Stop the local facilitator and remove the TIP_PRIVATE_KEY env variable.

Run the example using hosted facilitator:

You can check the balance of our two test addresses here: - 0xf6b42050A71Ca13f842eDa53C7d31B7C1BD94F6E (payer) - 0x375605671ddA2d461E333Cfa51F5b53763E8C585 (provider)

Run a payment with hosted facilitator on Base Mainnet.

Open a terminal, set the sender private key and the target URL with this command:

And then, run:

You can check the balance of our two test addresses here:

You can now release x402-examples.

Documentation.

You can now update the documentation, especially project versions.

Last updated