Giter Club home page Giter Club logo

cardano-marketplace's Introduction

Cardano Simple Marketplace

Webapp and cli for marketplace in cardano testnet using Kuber libarary.

marketplace-cli

This component is command line tool for interacting with the marketplace. Cli used kuber library, which handles transaction creation and submission to node

something

marketplace-frontend

Frontend vue project is located here.

  • It connects to an existing kuber server to construct transactions.
  • Lists tokens onSale using blockfrost APIs.

something

Project structure

  • marketplace-plutus/ - contains plutus contract code for simple marketplace
  • marketplace-cli/ - contains entry point for cli and cli commands and their parsing
  • marketplace-core/ - contains marketplace core functions and interaction with kuber library
  • frontend/ - contains client side for marketplace

IDE Setup

VS code with devcontainer enabled is the fastest way to get started with the project. To Use the cli, cardano-node should also be installed and running.

Usage:

Building locally

Building locally

cardano-marketplace's People

Contributors

iamsims avatar mesudip avatar nabinpkl avatar ruppo-912116 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cardano-marketplace's Issues

error with buy function

Hi, I have been testing frontend and with two diferent accounts I put to sell a NFT, so when I try to Buy with the another account this happens
image

ErrorKubærApi [Status 400] : TransactionValidityTranslationError (InlineDatumsNotSupported (TxOutFromInput (TxIn (TxId {_unTxId = SafeHash "7f14ebf610aed5b888f984e83d8dcc3618baac769beff390a38e4d6625324666"}) (TxIx 0))))

Do you know why this happens or how to fix that?
Thanks

macos 13 build

Am I the only one having problems building a local environment for this? Pulled the code, opened in vscode, reopened in container and the environment failed building with the following error:

[2023-06-20T15:09:53.216Z] 
8c70b848eded: Extracting    432MB/432MB
[2023-06-20T15:09:53.226Z] docker: failed to register layer: write /root/.cabal/packages/hackage.haskell.org/01-index.tar: no space left on device.
See 'docker run --help'.
[2023-06-20T15:09:53.236Z] Stop (485669 ms): Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/Users/JustPi01/Documents/code/cardano-marketplace,target=/workspaces/cardano-marketplace,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=/Users/JustPi01/Documents/code/cardano-marketplace -l devcontainer.config_file=/Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json --entrypoint /bin/sh -l devcontainer.metadata=[{"customizations":{"vscode":{"extensions":["haskell.haskell"],"settings":{"haskell.manageHLS":"GHCup"}}}}] dquadrant/cardano-devcontainer:1.35.0 -c echo Container started
[2023-06-20T15:09:53.246Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/JustPi01/Documents/code/cardano-marketplace --filter label=devcontainer.config_file=/Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json
[2023-06-20T15:09:53.501Z] Stop (255 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/JustPi01/Documents/code/cardano-marketplace --filter label=devcontainer.config_file=/Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json
[2023-06-20T15:09:53.501Z] Error: Command failed: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/Users/JustPi01/Documents/code/cardano-marketplace,target=/workspaces/cardano-marketplace,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=/Users/JustPi01/Documents/code/cardano-marketplace -l devcontainer.config_file=/Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json --entrypoint /bin/sh -l devcontainer.metadata=[{"customizations":{"vscode":{"extensions":["haskell.haskell"],"settings":{"haskell.manageHLS":"GHCup"}}}}] dquadrant/cardano-devcontainer:1.35.0 -c echo Container started
[2023-06-20T15:09:53.501Z] trap "exit 0" 15
[2023-06-20T15:09:53.501Z] exec "$@"
[2023-06-20T15:09:53.502Z] while sleep 1 & wait $!; do :; done -
[2023-06-20T15:09:53.502Z]     at mte (/Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js:2003:3286)
[2023-06-20T15:09:53.502Z]     at IN (/Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js:2003:3222)
[2023-06-20T15:09:53.502Z]     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-06-20T15:09:53.502Z]     at async Ote (/Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js:2020:3660)
[2023-06-20T15:09:53.502Z]     at async Hf (/Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js:2020:4775)
[2023-06-20T15:09:53.502Z]     at async Qre (/Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js:2151:10371)
[2023-06-20T15:09:53.502Z]     at async Zre (/Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js:2151:10112)
[2023-06-20T15:09:53.504Z] Stop (488870 ms): Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/JustPi01/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-cc06d1e2-bccb-4fec-a42f-ae79a3d2d3561687273303591 --workspace-folder /Users/JustPi01/Documents/code/cardano-marketplace --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/JustPi01/Documents/code/cardano-marketplace --id-label devcontainer.config_file=/Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-06-20T15:09:53.504Z] Exit code 1
[2023-06-20T15:09:53.506Z] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/JustPi01/.vscode/extensions/ms-vscode-remote.remote-containers-0.295.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/JustPi01/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-cc06d1e2-bccb-4fec-a42f-ae79a3d2d3561687273303591 --workspace-folder /Users/JustPi01/Documents/code/cardano-marketplace --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/JustPi01/Documents/code/cardano-marketplace --id-label devcontainer.config_file=/Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/JustPi01/Documents/code/cardano-marketplace/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-06-20T15:09:53.506Z] Exit code 1

I'm not sure what the problem is 🤔

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.