dkg.js 6.1.0 Release
Description
This 6.1.0 release marks a groundbreaking moment since the launch of DKG V6. We are thrilled to announce the introduction of multichain support, starting with the integration of the Gnosis blockchain and you can test right now with Gnosis Chiado Testnet.
We've expanded the UAL format to include blockchain ID, providing clarity on whether Knowledge Assets reside on Mainnet or Testnet. The existing UAL format remains supported and functional. Examples:
- Old Format: "did:dkg:otp/0x5cAC41237127F94c2D21dAe0b14bFeFa99880630/2570423"
- New Format: "did:dkg:otp:2043/0x5cAC41237127F94c2D21dAe0b14bFeFa99880630/2570423"
To ensure compatibility with the latest changes, please follow these steps:
-
Update Blockchain Names:
- Replace occurrences of old blockchain names with the new ones:
- hardhat should be updated to hardhat1:31337
- otp::devnet should be updated to otp:2160
- otp::testnet should be updated to otp:20430
- otp::mainnet should be updated to otp:2043
- Replace occurrences of old blockchain names with the new ones:
-
Add New Variables:
- Add the following variables to your options or DKG constructor environment, reflecting the network where DKG.js is used:
- For local network: environment: development
- For devnet network: environment: devnet
- For testnet network: environment: testnet
- For mainnet network: environment: mainnet
- Add the following variables to your options or DKG constructor environment, reflecting the network where DKG.js is used:
These updates are necessary for the old DKG.js setup to work effectively with the latest changes. If you have any questions or need further assistance, please don't hesitate to reach out for team assistance.
🚀 Features
Adding Support for Multichain
🐛Bug fixes
Fixed isValidUAL function
#TraceOn