-
Notifications
You must be signed in to change notification settings - Fork 242
Marketplace package #988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marketplace package #988
Conversation
Marketplace package
Compilation conditionals added to sample scripts
Almost there
assembly defs
Package json
Defines via asmdef
| @@ -1,2 +1,2 @@ | |||
| m_EditorVersion: 2022.3.26f1 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't change this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should all be on .22f1 right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we updated to 2022.3.26 here #938
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updating, I removed all my versions today to avoid this lol
juans-chainsafe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if I don't import the marketplace package into the project, I see this build errors:
Assets/Samples/web3.unity SDK/2.5.5/Web3.Unity Samples/Scripts/Scenes/SampleMain/IPFS/IPFSCalls.cs(4,7): error CS0246: The type or namespace name 'Web3Unity' could not be found (are you missing a using directive or an assembly reference?)
Assets/Samples/web3.unity SDK/2.5.5/Web3.Unity Samples/Scripts/Scenes/SampleMain/Marketplace/MarketplaceCalls.cs(1,19): error CS0234: The type or namespace name 'Marketplace' does not exist in the namespace 'Scripts.EVM' (are you missing an assembly reference?)
Compilation conditional define is being placed in there at the start, i'll need to make it remove itself on deletion. BRB. |
| "url": "https://gaming.chainsafe.io/" | ||
| }, | ||
| "samples": [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be an empty array
Moving IPFS back to samples & fixing package duplicates.
Remove deadfiles
* Marketplace package Marketplace package * Compilation conditionals added to sample scripts Compilation conditionals added to sample scripts * Cleanup Cleanup * Almost there Almost there * Update DisableGameObjectIfServiceNotActive.cs * assembly defs assembly defs * Package json Package json * testing testing * Update io.chainsafe.web3-unity.marketplace.runtime.asmdef * Defines via asmdef Defines via asmdef * Adding MARKETPLACE_AVAILABLE "on demand" * Adding csc.rsp file because for our project in general should be gucci. * Login fix Login fix * Update SampleMain.unity * Update SampleMain.unity * Update CscImporter.cs * Update CscImporter.cs * Fixes Fixes * Remove debug * Fixes Fixes * Fixes * Fix Fix * Update package.json * Fix for csc.rsp * Meta file changed? * Celanup * Moving IPFS back to samples Moving IPFS back to samples & fixing package duplicates. * Update .gitignore * Update .gitignore * samples samples * Update .gitignore * Update Update * Fixes Fixes * Remove deadfiles Remove deadfiles --------- Co-authored-by: Nikola Garabandic <kantagara@gmail.com>
* Marketplace package Marketplace package * Compilation conditionals added to sample scripts Compilation conditionals added to sample scripts * Cleanup Cleanup * Almost there Almost there * Update DisableGameObjectIfServiceNotActive.cs * assembly defs assembly defs * Package json Package json * testing testing * Update io.chainsafe.web3-unity.marketplace.runtime.asmdef * Defines via asmdef Defines via asmdef * Adding MARKETPLACE_AVAILABLE "on demand" * Adding csc.rsp file because for our project in general should be gucci. * Login fix Login fix * Update SampleMain.unity * Update SampleMain.unity * Update CscImporter.cs * Update CscImporter.cs * Fixes Fixes * Remove debug * Fixes Fixes * Fixes * Fix Fix * Update package.json * Fix for csc.rsp * Meta file changed? * Celanup * Moving IPFS back to samples Moving IPFS back to samples & fixing package duplicates. * Update .gitignore * Update .gitignore * samples samples * Update .gitignore * Update Update * Fixes Fixes * Remove deadfiles Remove deadfiles --------- Co-authored-by: Nikola Garabandic <kantagara@gmail.com>
Moved IPFS & marketplace core functionality into a package to modularize it's use and left a placeholder for a use case implementation for 3.0.
To Test:
Run setup.sh
Check that the sdk functions as usual without the marketplace package.
Install the marketplace package locally and check that the marketplace/ipfs functions work there too.
The marketplace calls will enable in the sample scene similar to how ramp does once the package is present.