Releases: OriginTrail/dkg.js
dkg.js 6.1.1 Release
Description
We're thrilled to introduce a new feature in dkg.js v6.1.1! Now, your dkg.js client becomes even more dynamic with the logic for automatic contract instances update.
In a continuously running dkg.js process, if there's an update to the ContentAsset contract on the Hub, dkg.js will autonomously reinitialize the contract instance with the new contract address.
🚀 Features
- Logic for automatic contract instances updates when Hub is updated (#123)
#TraceOn
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
dkg.js 6.0.16 Release
dkg.js 6.0.15 Release
Description
We are excited to announce the 6.0.15 release, which includes important bug fix.
🐛 Bug fixes
- Fixed typo in the blockchain module #111
#TraceOn
dkg.js 6.0.14 Release
Description
We are excited to announce the 6.0.14 release of the DKG Javascript client, which includes 2 new modules: Assertion and Network. Assertion module exposes functions for public assertions metadata calculation and Network module exposes the bid suggestion function, which allows users to estimate the cost of publishing before actual Knowledge Asset creation. Additionally, a new function “setAllowance” was introduced in the Asset module, which gives more choice to the users and allows them to manage smart contract allowance with only 1 function (instead of 2: increase and decrease).
🚀 Features
- Added Network and Assertion modules + setAllowance (#109)
🧰 Maintenance
- Improved handling of transaction reverts (#108)
Contributors: @u-hubar @stenjo1
#TraceOn
dkg.js 6.0.13 Release
Description
We are excited to announce the 6.0.13 release, which includes important bug fix.
🐛 Bug fixes
- Fixed retry mechanism for the 'already known' error #106
#TraceOn
dkg.js 6.0.12 Release
Description
We are excited to announce the 6.0.12 release, which includes important bug fix.
🐛 Bug fixes
- Updated webpack build #104
#TraceOn
dkg.js 6.0.11 Release
Description
We are excited to announce the 6.0.11 release, which includes important bug fix.
🐛 Bug fixes
- Reworked logic for gasPrice calculation on transaction retry #102
#TraceOn
dkg.js 6.0.10 Release
Description
We are excited to announce the 6.0.10 release, which includes two new functions:
- Get balance of wallet (both TRAC and blockchain token)
- Get current allowance for asset creation
#TraceOn
dkg.js 6.0.9 Release
🐛 Bug fixes
- Improvements on how get operations are querying the private historical repository when getting historical states of the Knowledge Assets
- Fixed bugs related to the browser support for DKG operations
Contributors: @brkagithub, @zeroxbt
#TraceOn