Migrate to Myrtle

The Verida Mainnet is now live and the Verida protocol libraries have been updated to manage most of the complexity of the myrtle upgrade.

As a developer, there are just three things you need to focus on.

1. Upgrade to the latest librariesarrow-up-right

There is a new 3.0.0 release of the protocol that supports myrtle.

You will need to run yarn update on all @verida/xxx packages used by your project.

ie: yarn update @verida/client-ts @verida/account-web-vault

2. Specify Verida EnvironmentType.MYRTLEarrow-up-right

In your code that connects to the Verida network, replace references of EnvironmentType.BANKSIA to EnvironmentType.MYRTLE

3. Server-side app changesarrow-up-right

(Not required for web applications)

Server-side applications may be manually creating accounts on the Verida network and paying MATIC for those blockchain transactions. The Verida mainnet runs on a Polygon PoS network, so you will need to replace your authentication codearrow-up-right webConfig.privateKey with a Polygon PoS mainnet private key with sufficient MATIC to create blockchain accounts.

Last updated

Was this helpful?