Skip to content

Releases: public-awesome/badges

v1.2.0

07 Dec 21:22
964af0e
Compare
Choose a tag to compare
  • Check the validity of provided public key when creating a new badge or adding claim keys to a badge
  • Bump all dependencies to latest versions

v1.1.0

08 Nov 03:35
dc485bd
Compare
Choose a tag to compare

1. Separate data fee rates for metadata and claim keys

Background: Since Stargaze chain uses zero gas price, the Badges contract decides to charge a "data fee" to discourage spamming attacks. The fee is charged when creating a new badge and when adding claim keys to an existing badge, the amount being proportional to the storage space taken by the new data. Currently, the fee rate is set to 200,000 ustars per byte of data.

The problem: At the current fee rate, the cost for adding claim keys is quite high. It takes ~140 STARS or ~US$7 to add 10 keys. To host an event of 200 people would thus require ~US$140 just to upload the claim keys, which is unbearable for many badge creators. On the other hand, it is reasonable that keys have a lower fee rate than metadata, as whereas metadata are to be kept on chain forever, claim keys are deleted once used.

This update introduces separate fee rates for metadata and keys. Specifically, metadata fee rate will still be 200,000 ustars per byte, while for keys the rate is reduced to 10,000 ustars per byte.

2. Extend the claim deadline for badge #3

Badge #3 was supposed to be distributed at the Cosmoverse event. However, due to delays in shipping, the claim QR codes were not delivered to the recipients on time. This update extends the claim period of this badge to the end of this year (Decenber 31, 23:59:59 UTC) while the QR codes are to be distributed over email.

v1.0.0

18 Oct 02:09
faa3069
Compare
Choose a tag to compare

Mainnet release

v1.0.0-rc3

19 Sep 01:59
42dc991
Compare
Choose a tag to compare
v1.0.0-rc3 Pre-release
Pre-release

Fixed two bugs

  • Previously if no fund is sent (i.e. info.funds is empty), stringify_funds will generate an empty string. However, using empty strings as values of event attributes is not allowed. Now "no fund" is stringified to this string: [].
  • When invoking set_nft on the Hub contract, the Hub should automatically set the NFT as "ready".

v1.0.0-rc2

19 Sep 00:57
0ae2b73
Compare
Choose a tag to compare
v1.0.0-rc2 Pre-release
Pre-release

new instantiation logic for the nft contract

v1.0.0-rc1

13 Sep 05:19
a9eb714
Compare
Choose a tag to compare
v1.0.0-rc1 Pre-release
Pre-release

adding schema, basically

v1.0.0-rc0

13 Sep 02:04
ab4da37
Compare
Choose a tag to compare
v1.0.0-rc0 Pre-release
Pre-release

basically rewrote the whole thing for redeployment on Stargaze

v0.4.1

08 Nov 17:26
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release
Fix clippy issues

v0.4.0

03 Nov 05:01
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
Some bug fixes for the scripts

v0.3.0

28 Oct 17:13
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
Update scripts