Skip to content

Releases: deso-protocol/backend

v3.0.0

12 Sep 20:54
Compare
Choose a tag to compare

Description

v3.0.0 introduces new endpoints required to support unlimited derived keys and metamask sign up.

v3.0.0 also introduces some quality-of-life improvements and minor bug fixes.

New Endpoints

  • get-access-bytes: Returns the access bytes for a derived public key base58check, expiration block, and transaction spending limit
  • get-bulk-messaging-public-keys: Retrieves all group messaging public keys for the request GroupOwnerPublicKey | MessagingGroupKeyName pairs
  • send-starter-deso-for-metamask-account: Airdrops DESO to metamask users who have an ETH balance that exceeds a certain amount. This is required so the public key can register an unlimited derived key
  • get-single-derived-key: Return the current state of the requested derived key. This is used to more quickly validate JWTs signed by derived keys.

New Flags

  • metamask-airdrop-eth-minimum: This is the minimum amount of ETH, specified in wei, a user must hold in order to be eligible for an airdrop when registering as a metamask user.
    • Default value: "100000000000000" - which is 0.0001 ETH
  • metamask-airdrop-deso-nanos-amount: This is the amount of DESO, specified in nanos, a user will receive when registering as a metamask user, provided their ETH balance exceeds the threshold described above.

Modified Endpoint Responses

  • submit-transaction: We now include the TransactionIDBase58Check in the response

Miscellaneous

  • Comp profile creation will also comp users who registered with a metamask wallet
  • Fix a nil pointer exception in get-nft-entries-for-post-hash
  • Use goerli for testnet ETH transaction instead of ropsten
  • Remove hidden posts from hot feed
  • Add an IsMedia parameter to the get-hot-feed

Auto-Generated Release Notes

What's Changed

  • Add additional check in hot feed routine to prevent nil pointer deref… by @triplegreenshell in #373
  • Fix node shutdown by @AeonSw4n in #366
  • Validate DAO coin order transfer restriction. by @mattfoley8 in #376
  • Calculate a profile's DAO coin market price without simulating order submission by @iamsofonias in #377
  • Add hot-feed-media-required parameter by @piratekev in #384
  • add DAO Coin Limit Order to dao coin filter for notifications filters by @lazynina in #386
  • Remove hidden pinned posts from host feed by @lazynina in #387
  • Update comment on FilteredOutNotificationCategories by @lazynina in #388
  • Include profile of the coin in IsHodlingPublicKey by @lazynina in #390
  • Add TransactionIDBase58Check to submit transaction response by @lazynina in #393
  • Add get single derived key endpoint and update testnet eth url by @lazynina in #391
  • Add error handling check for get nfts by @triplegreenshell in #396
  • Updated access bytes and buy deso with derived key by @AeonSw4n in #380

New Contributors

Full Changelog: v2.2.5...v3.0.0

v2.2.5

11 Jun 00:01
Compare
Choose a tag to compare

What's Changed

  • Simulate limit and market orders to produce order execution preview by @iamsofonias in #372

Full Changelog: v2.2.4...v2.2.5

v2.2.4

10 Jun 09:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.3...v2.2.4

v2.2.3

23 May 02:59
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.2...v2.2.3

v2.2.2

14 May 05:51
Compare
Choose a tag to compare

What's Changed

Fix bug in limit order logic around small orders

We discovered a minor bug whereby limit orders could be submitted that are so
small that they can be filled without the other side of the trade paying
anything. While this is generally harmless, some error-checking logic
made it so that new orders would be rejected if the order at the top of
the book had this issue. This change resolves this issue and adds
thorough testing around it.

  • Make 'AppendExtraData' add new fields as opposed to creating a new map by @iamsofonias in #345
  • Allow phone number to be used multiple times up to a threshold by @lazynina in #332

Full Changelog: v2.2.1...v2.2.2

v2.2.1

10 May 03:55
Compare
Choose a tag to compare

What's Changed

Set mainnet block heights for DAODAO hard fork, and fix minor issues found in testnet phase

  • Standardize handling of the ExtraData maps across backend API by @iamsofonias in #336
  • Conversion of DAO coin limit order exchange rates and quantities from float64 <-> uint256 by @iamsofonias in #338
  • Use gofmt by @hz61p1 in #329
  • Fix linter issues by @lazynina in #339
  • Sort by BalanceNanosUint256 when fetching DAO Coin Holders by @lazynina in #340
  • Merge this node's global state in with remote global state for verifications, blacklist, graylist and Global feed by @lazynina in #192
  • uppercase HotnessInfoBlock struct name by @lazynina in #341

New Contributors

Full Changelog: v2.1.3...v2.2.0

v2.1.3

30 Apr 05:17
Compare
Choose a tag to compare

What's Changed

  • Hypersync has been successfully merged and deployed to Foundation testnet nodes

Commits:

2.1.2

26 Apr 17:20
00f09ad
Compare
Choose a tag to compare

Highlights

  • Remove forced hex encoding of strings in extra data for Extra Data on new entries such as profiles, messages, etc.
  • Add support for a hot feed for hash tags, @ mentions, and cash tags
  • Update endpoints for create DAO coin limit orders, including new endpoint for market orders
  • Add a IncludeBalance parameter to GetUsersStateless to explicitly request the balance, even if SkipForLeaderboard is true

What's Changed

Full Changelog: v2.1.1...v2.1.2

2.1.1

18 Apr 23:52
49693ee
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

2.1.0

18 Apr 14:36
f7c7468
Compare
Choose a tag to compare

Highlights

  • DAO Coin Limit Order endpoints: transaction construction and fetching orders
  • Endpoints to support Transaction Spending Limits
  • Bug Fix for Get-NFT-Summary

What's Changed

New Contributors

Full Changelog: v2.0.7...v2.1.0