Releases: deso-protocol/backend
v3.0.0
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
- @piratekev made their first contribution in #384
Full Changelog: v2.2.5...v3.0.0
v2.2.5
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
What's Changed
- Add Public Key Balance Monitoring flag by @lazynina in #357
- Add script for distributing DAO coins to NFT holders. by @bluepartyhat in #358
- Add dao functions to toolslib. by @bluepartyhat in #359
- Add script for messaing all holders of a specific NFT. by @bluepartyhat in #360
- Fix gofmt errors for toolslib. by @bluepartyhat in #361
- Mf/validate transactor selling qty by @mattfoley8 in #362
- Only set LastKey if at least 1 key by @lazynina in #364
- Tgs/hot feed updates by @triplegreenshell in #365
- Use strings instead of floats to take in price & quantity across the API for the orderbook by @iamsofonias in #367
- Remove basic transfer restrictions based on tutorial status by @lazynina in #368
- Add endpoint to return total number of holders for a given list of public keys by @lazynina in #370
New Contributors
- @mattfoley8 made their first contribution in #362
Full Changelog: v2.2.3...v2.2.4
v2.2.3
What's Changed
- Use 'DESO' instead of empty string for DAO coin limit orders by @iamsofonias in #347
- Fix GetAcceptedBidHistory by @lazynina in #349
- Add ExtraData encoder/decoder for BuyNowPrice extra data key by @lazynina in #351
- Tgs/ingress cookie route by @triplegreenshell in #354
- Add support for specifying redirect URL for WyreWalletOrderReservation by @lazynina in #352
- Add NFT scripting tools to toolslib + add NFT burner helper script. by @bluepartyhat in #355
Full Changelog: v2.2.2...v2.2.3
v2.2.2
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
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
What's Changed
- Hypersync has been successfully merged and deployed to Foundation testnet nodes
Commits:
- Hypersync backend by @AeonSw4n in #335
Full Changelog: v2.1.2...v2.1.3
2.1.2
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 ifSkipForLeaderboard
is true
What's Changed
- Add IncludeBalance param to GetUsersStateless by @lazynina in #330
- Use string <-> []byte casting as default for encoding extra data by @iamsofonias in #331
- add subreddit hot feed by @diamondhands0 in #323
- API endpoint for creating DAO coin market orders by @iamsofonias in #333
- [stable] Release 2.1.2 by @lazynina in #334
Full Changelog: v2.1.1...v2.1.2
2.1.1
2.1.0
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
- Transaction Spending Limits & Extra Data on Entries by @lazynina in #295
- fix derived key memo encoding by @lazynina in #313
- [stable] Release 2.0.7 - HOTFIX by @lazynina in #314
- return transactions from db in api/v0/get-txn/ endpoint by @iamsofonias in #315
- Add TransactionSpendingLimitHex functionality for identity changes by @diamondhands0 in #320
- Resolve error where get-nft-collection-summary fails if SN 1 is burned by @triplegreenshell in #317
- DAO Coin Exchange API endpoints by @iamsofonias in #319
- Add DAOCoinLimitOrderLimitMap to TransactionSpendingLimitResponse (#321) by @lazynina in #322
- [stable] Release 2.1.0 by @lazynina in #325
New Contributors
- @triplegreenshell made their first contribution in #317
Full Changelog: v2.0.7...v2.1.0