-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update all submodules, related fixes and mint automatization #16
Conversation
…rror/reflection field for WS), seabug-contract and plutus-usecases
How to check (with defaults): - http GET ctl.localho.st:8080/images - http GET ctl.localho.st:8080/fees
Update flake.lock
45a6771
to
b94bbf0
Compare
arion-compose.nix
Outdated
"--server-api" "usr:pwd" | ||
"--ogmios-address" "ogmios" "--ogmios-port" "1337" | ||
"--origin" "--use-latest" | ||
"--block-filter" "{\"address\": \"addr_test1wr05mmuhd3nvyjan9u4a7c76gj756am40qg7vuz90vnkjzczfulda\"}" |
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 address seems like it shouldn't be hardcoded, is it the marketplace address?
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.
Yes, it is. The issue on this: #18
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 probably some const defined earlier in this file, it's constant after launch, it's marketplace escrow address
Co-authored-by: Samuel Williams <33094920+samuelWilliams99@users.noreply.github.com>
Updated CTL submodule to the
|
…e-server Update `nft-marketplace-server`
With dfaedae, from a clean repo:
|
re using development server: Well, it's development server, we should rather fix nginx setup |
ogmios-datum-cache = (import ogmios-datum-cache/default.nix).packages.x86_64-linux.ogmios-datum-cache; | ||
nft-marketplace-server = (import nft-marketplace-server/default.nix).packages.x86_64-linux."nft-marketplace-server:exe:nft-marketplace-server"; | ||
ogmios-datum-cache = (import ogmios-datum-cache/default.nix).packages.x86_64-linux."ogmios-datum-cache"; | ||
# FIXME: CTL version also pinned in seabug-contract. We need only one source of truth |
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.
Will be fixed when we'll move from git submodules to flakes, then you can just follow input
arion-compose.nix
Outdated
"--server-api" "usr:pwd" | ||
"--ogmios-address" "ogmios" "--ogmios-port" "1337" | ||
"--origin" "--use-latest" | ||
"--block-filter" "{\"address\": \"addr_test1wr05mmuhd3nvyjan9u4a7c76gj756am40qg7vuz90vnkjzczfulda\"}" |
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 probably some const defined earlier in this file, it's constant after launch, it's marketplace escrow address
README.md
Outdated
@@ -69,73 +69,85 @@ Ensure that Nami is set to Testnet, that you have some Test Ada, and that you've | |||
|
|||
### Optional: Mint your own NFTs | |||
|
|||
This process will be simplified in the future. | |||
UPDATE: see the minting section in `seabug-contracts/README.md` instead. The following minting process is currently broken, see [\#22](https://github.com/mlabs-haskell/seabug/issues/22). |
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.
Keeping broken process in readme can be confusing even if it's marked as broken
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.
Unsure if its the right move to drop the full minting util, I feel like probably not, but we can certainly do so from the readme, and add back later once fixed
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.
The new minting process partially relies on mint-nft.sh
to upload an image to IPFS+our database and get its base36 CID, and some of the setup from this section of the readme is necessary for that to work. It's kind of hacky right now, but I'm not sure if it's worth trying to extract out the part of mint-nft.sh
that we need.
Maybe we just remove mint-nft.sh
for now, but keeping the parts that are needed? The file is in git anyways
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.
See 43dad7d for what I meant. I can revert that commit if we want to keep the old version, but I feel like it'll just cause confusion
I can spend some time today fixing the nginx setup, I'm sure there's probably some tutorials for "nginx with <our react routing lib>" cc @samuelWilliams99 @t4ccer |
nginx-default.conf is the /etc/nginx/conf.d/default.conf file copied from the nginx container, and I just added the `try_files` line
Currently merging this into #19, so that can be merged shortly after this is merged. |
Simplify NFT minting by the scripts. Details in updated README.md
Currently, scripts allow to mint new NFT for images, which can be founded in the marketplace sometime later. But it is impossible to buy due to:
NFT not found on marketplace
Related PRs:
seabug-contracts
nft-marketplace#223State: