Commit Graph

456 Commits

Author SHA1 Message Date
Jordan Prince ad23dbfb4f Holy cow, now we have editions too 2021-08-11 17:31:10 -05:00
Jordan Prince e7abac452f Separate the metadata gets into additional promises since technically they are async 2021-08-10 19:57:03 -05:00
Jordan Prince 9170223fb0 Oh yeaj, it works and it's fast as sh*t...just get the metadata oyu ned 2021-08-10 19:52:21 -05:00
Jordan Prince c310080fe0
Revert "Fix NFT Mint via Custom URL (#204)" (#205)
This reverts commit 2be94432bb.
2021-08-10 12:24:42 -05:00
SajidXRizvi 2be94432bb
Fix NFT Mint via Custom URL (#204)
Signed-off-by: Sajid Rizvi <sajidxrizvi@gmail.com>
2021-08-10 09:47:34 -05:00
Jordan Sexton 57f42d128e
solflare wallet adapter (#199) 2021-08-10 08:42:27 -05:00
Flappy d2e0547296
Secondary sales flickering (#202)
* Resales tab added

* updated review changes

* secondary sales flickering updated

Co-authored-by: Jordan Prince <jordanmprince@gmail.com>
2021-08-10 08:19:00 -05:00
Jordan Prince bc97c0c678 Work in progress on speed fix 2021-08-10 08:17:36 -05:00
exromany 397ceff70b
Refactor/meta (#194)
* small hook improvements

* refactor programIds

* split contexts/meta to separate files

* process account right after they loaded
2021-08-09 12:54:14 -05:00
Leslie P. Polzer 3074ece80e
Client metadata tool: show edition mint after printing new edition. (#197)
* Token meta CLI client: add --mint and --mutable args to create call.

* Client metadata tool: show edition mint after printing new edition.

Co-authored-by: Solarians <hello@solarians.click>
2021-08-09 11:25:16 -05:00
Jordan Prince 8ea6b0e2d4
Refactor WinningConfigs into more scalable independent SafetyDepositConfig solution (#144)
* WIP on new configs

* WIP on building out primary pathway of new safety config, needs its own serde

* Finish the serde for safety config.

* Upgrade solana library and borsh library

* Refactor bid redemption ticket to use a bitmask behind the scenes and present a nice facade

* WIP commit - got most of the redemption stuff worked out through abstraction. Need to take a hard look at participation and work that one out next.

* WIP on smoothing out validations and participation

* More fixes to smooth out the facade between the v1 and v2 auction manager, mostly in withdraw master edition

* Lots of work on getting this thing ready to test but hit a snagin empty payment account that requires a whole new account to be created

* Still working

* Massive push to finish all the bugfixes to get the refactor ready for integration with UI

* Beginning the long work of integrating refactor into the UI

* Update the model files to have the latest new account keys for the refactor

* Still WIPing the front end into shape

* Slowly creating facades on the front end so that it no longer knows about winning configs in many places.

* Lots of refactoring to get rid of winning configs

* More build fixes

* Doesnt seem like much, but this commit is the first commit that can do an end to end auction to settlement with a single token in v2.

* More fixes to withdrawing editions and edition management in the v2 universe, and a fix for expected redemptions in the v1 universe that exists as a bug right now.

* Forgot to include the fix for expected redemptions in v1

* This commit demarcates open edition auctions working again

* Fixes to tiered auctions.

* Remove debugger

* Show token winning type

* Fix for bad royalties calcs

* More fixes

* Still working through various bugfixes in participation nfts

* More fixes to participation

* more bugfixes

* Dont allow av1s to create new redempton tickets

* Make a new endpoint for participation redemption since it now requires an argument

* Switch ok() to normal match as this seems to make a different and wont throw missing account keys

* Revert "Switch ok() to normal match as this seems to make a different and wont throw missing account keys"

This reverts commit 68b8c7cfc2eb2bc6d3b5297b337042c884e7c2c0.

* Master edition is actually safety deposit in the case of a v1 since it still is consuming from same iterator
2021-08-09 08:52:30 -05:00
Vadim 8909e57146 Add EndAuction proxy call to Metaplex program 2021-08-06 13:45:56 +03:00
B 0fc9458163
Merge pull request #186 from jamland/fix-start-on-win
Fix server start on Windows
2021-08-04 22:26:07 -05:00
Andy Burkovetsky 51d7ce5033 Update package.json 2021-08-04 22:41:37 +03:00
Ilia bf95a0723b
Feature/token metadata tests(negative) (#182)
* feature: update borsh version, wip testing module

* Fixed signatures for create metadata in tests

* feature: success test for create_metadata_account

* feature: success test for update_metadata_account, added is_mutable param to create method

* feature: success test for update_primary_sale_happened_via_token, added token account creation in test metadata structure

* feature: success test for create_master_edition

* feature: success test for mint_new_edition_from_master_edition_via_token

* feature: added more success tests checks, wip: added necessary accounts

* feature: added more internal mocks, added mint_new_edition_from_master_edition_via_vault_proxy

* feature: added basic negative tests

Co-authored-by: Yuriy Savchenko <yuriy.savchenko@gmail.com>
2021-08-04 13:17:00 -05:00
Jordan Prince 8fac1aca13
Analytics (#185)
* Built out logic for analytics view

* Scope to sol only

* WIP commit on adding visuals and fixing rendering

* Analytics 1.0 done. Please delete later.

* Dont spam rpc if on all mode
2021-08-04 12:55:24 -05:00
Jordan Prince 0645a7029c
Fix secondary markets + Admin Conversion (#183)
* Add rate limiting to the converter, only show in the case of non public stores, and bring it back from the dead

* Dont mark an item as sold just because you're doing a full rights auction
2021-08-03 09:34:21 -05:00
Jordan Prince 5b61acc5a1
Update deploy.md 2021-08-02 22:27:24 -05:00
Vecheslav Druzhbin 0a05815499 refactor: minor changes in the end checking 2021-08-02 18:25:25 +03:00
Vecheslav Druzhbin ebe3841013 style: typo has instant bid 2021-08-02 18:11:57 +03:00
praskoson 877e53c1b8
Use edition number in data (#171)
This call is not used anywhere yet, but it might be in the future...
2021-07-31 11:35:36 -05:00
Ilia 7a01f3c650
feature: success tests for token-metadata (#173)
* feature: update borsh version, wip testing module

* Fixed signatures for create metadata in tests

* feature: success test for create_metadata_account

* feature: success test for update_metadata_account, added is_mutable param to create method

* feature: success test for update_primary_sale_happened_via_token, added token account creation in test metadata structure

* feature: success test for create_master_edition

* feature: success test for mint_new_edition_from_master_edition_via_token

* feature: added more success tests checks, wip: added necessary accounts

* feature: added more internal mocks, added mint_new_edition_from_master_edition_via_vault_proxy

Co-authored-by: Yuriy Savchenko <yuriy.savchenko@gmail.com>
2021-07-30 10:33:22 -05:00
Vecheslav Druzhbin 9f64fd20bf docs: update auction data extended 2021-07-30 10:10:35 +03:00
B 54a99c1ba3
Merge pull request #174 from exromany/bugfix/cross-scripts 2021-07-29 18:01:47 +02:00
Leslie P. Polzer 47f2c56c65
Token meta CLI client: add --mint and --mutable args to create call. (#175) 2021-07-29 09:41:57 -05:00
Vecheslav Druzhbin d526364aaf refactor: style MAX_AUCTION_DATA_EXTENDED_SIZE 2021-07-29 15:02:52 +03:00
Vecheslav Druzhbin e18c4e0bf5 refactor: instant sale considered open edition auction 2021-07-29 13:05:30 +03:00
exromany ea08b87e90 fix scripts for windows-users 2021-07-29 11:56:57 +03:00
Vecheslav Druzhbin ff4ed1b18a fix: optional name for auction v1 2021-07-28 14:31:59 +03:00
Vecheslav Druzhbin 9f83796566 Merge branch 'master' into feature/instant-sale 2021-07-28 12:34:32 +03:00
Vecheslav Druzhbin 71b2e57032 Merge branch 'feature/add-auction-name' into feature/instant-sale 2021-07-28 12:30:15 +03:00
B 5ccad3d82e
Merge pull request #172 from exromany/bugfix/console-erorrs
fix console errors with key attribute
2021-07-28 04:24:59 +02:00
exromany fdebea99d0 fix console errors with key attribute 2021-07-27 17:03:22 +03:00
bartosz-lipinski f4cbebbcf7 Merge branch 'master' of https://github.com/metaplex-foundation/metaplex 2021-07-26 22:30:25 -05:00
bartosz-lipinski c0c87d3728 fix: ignore local storage errors for now 2021-07-26 22:30:19 -05:00
Jordan Prince b71adad26f
Dont validate edition info ownership if token only transfer since it is not used for token only (#169) 2021-07-26 18:19:55 -05:00
Yuriy Savchenko 18c3b0b1b7
Cancelling bid only if the auction has not ended yet (#165) 2021-07-25 16:38:27 -05:00
Yuriy Savchenko 1857649730 Added name to the auction data 2021-07-25 12:00:40 +03:00
Flappy a96a5f9b2d
Resales tab added (#134)
* Resales tab added

* updated review changes

Co-authored-by: Jordan Prince <jordanmprince@gmail.com>
2021-07-24 17:27:22 -04:00
bartosz-lipinski 53379b9af2 chore: hide converter 2021-07-24 15:48:52 -05:00
Vadim 300fef21f8 Refactor after review 2021-07-23 20:02:48 +03:00
Vadim ca23b371a4 Refactor tests for Auction program 2021-07-23 16:35:30 +03:00
Vadim eb798f9825 Add instant_sale_price check to metaplex common redeem check util 2021-07-23 16:35:30 +03:00
Vadim 727b5fc10a Add tests for instant_sale_price feature 2021-07-23 16:35:30 +03:00
Vadim 3f43c2b45b Add instant_sale_price check to ClancelBid instruction 2021-07-23 16:35:30 +03:00
Vadim e4c670bec9 Add instant_sale_price check to ClaimBid instruction 2021-07-23 16:35:30 +03:00
Vadim e38684dd4f Add instant_sale_price check to PlaiceBid instruction 2021-07-23 16:35:30 +03:00
Vadim c2507c8287 Add check of instant_sale_price parameter to PlaceBid instruction 2021-07-23 16:35:30 +03:00
Vadim b47705253d Add instant_sale_price parameter to AuctionDataExtended 2021-07-23 16:35:30 +03:00
B 4c34eec87b
Merge pull request #150 from exromany/docs/deployment-md 2021-07-22 15:41:49 +02:00