Skip to content

Releases: OriginTrail/dkg.js

dkg.js 6.1.1 Release

29 Dec 12:53
5762027
Compare
Choose a tag to compare

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

21 Dec 16:04
719e9e8
Compare
Choose a tag to compare

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
  • 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

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

17 Nov 14:40
7122540
Compare
Choose a tag to compare

Description

We are excited to announce the 6.0.16 release, which includes bug fix and new function .

🐛 Bug fixes

Fixed dkg.js not using right public key with MetaMask #115

🚀 Features

Added function for UAL validation #114

#TraceOn

dkg.js 6.0.15 Release

24 Oct 11:50
7340118
Compare
Choose a tag to compare

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

03 Oct 16:30
5de5c56
Compare
Choose a tag to compare

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

07 Sep 18:09
ecc52d2
Compare
Choose a tag to compare

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

07 Sep 11:02
dc51e20
Compare
Choose a tag to compare

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

07 Sep 10:18
1707c92
Compare
Choose a tag to compare

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

07 Sep 09:08
4ea85ad
Compare
Choose a tag to compare

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

25 Aug 09:00
ed89864
Compare
Choose a tag to compare

🐛 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