Code Monkey home page Code Monkey logo

core's People

Contributors

jgeary avatar sporkspatula avatar tbtstl avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

core's Issues

Licence?

Hi All,

Would you consider adding a licence to this repo, say the MIT licence? What would you consider it to be now?

Cheers!

Pattern in marketplace with auction

Hi, thanks for sharing your work.
I am developing a marketplace with auction, and I am using the inheritance design pattern to develop the contracts. One main contract and two inheritance contracts for the auction and the marketplace. I don't know if the approach I am using is the right one.

And also, do you know how I have to link it in the migrations?

thanks

Feature Request: Mint on demand and directly buy

Problem

A creator want to put several works on sale but does not want to pay for all the minting-gas-costs up front. Only if a buyer actually wants to buy a work, they should pay for the gas. The creator should be correctly set as the Cryptomedia's creator, but the newly minted token should be directly assigned to the first buyer. Furthermore, the price for that token should be paid during this transaction also.

Possible Solution

Introduce a new function:

function mintAndBuyWithSig(
      address creator,
      address buyer,
      uint256 amount,
      address currency,
      MediaData memory data,
      IMarket.BidShares memory bidShares,
      EIP712Signature memory sig
  )

And the following MintAndBuyWithSig:

{
  MintAndBuyWithSig: [
    { name: 'tokenURI', type: 'string' },
    { name: 'metadataURI', type: 'string' },
    { name: 'creatorShare', type: 'uint256' },
    { name: 'amount', type: 'uint256' },
    { name: 'currency', type: 'address' },
    { name: 'nonce', type: 'uint256' },
    { name: 'deadline', type: 'uint256' },
  ]
}

Like this it will be possible to mint and buy a Cryptomedia in one transaction. The creator has still the possibility to set the price.

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.