0.0.21 • Published 9 months ago

@darenft/marketplace-sdk v0.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Example:

import { MarketPlace } from '@darenft/marketplace';

const marketplace = new MarketPlace({
    serviceApi: 'https://api.dareplay.io',
    provider: ethers.Provider,

    contracts: {
        97: {
            marketplace: '0x5dB0A1E62e81331d76B06123a3CF16611890720b',
            StrategyStandardSaleForFixedPriceV1B: ''
        }
    }
});

// Listing

marketplace.execute(new CreateSellOrder(
    signer,
    collection,
    price,
    tokenId,
    amount,
    currency,
    startTime,
    endTime
));

// Buy
marketplace.execute(new CreateBuyOrder(
    ...
));

// Cancel Listing
marketplace.execute(new CancelSellOrder(
    ...
));
0.0.20

10 months ago

0.0.21

9 months ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

10 months ago

0.0.9

1 year ago

0.0.16

10 months ago

0.0.8

1 year ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.19

10 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago