Neurotic Programmer Masquerade

    @waves/assets-pairs-order
    TypeScript icon, indicating that this package has built-in type declarations

    4.0.0 • Public • Published

    Utility for ordering pair of assets in (amount_asset, price_asset)

    Build Status

    Example:

    yarn add @waves/assets-pairs-order
    
    import { createOrderPair, MAINNET_DATA } from '@waves/assets-pairs-order'
    
    const orderPair = createOrderPair(MAINNET_DATA);
    orderPair(
      'DNhP2zAH5HM1kdUSmxcBqs8RP4vvUgRFc1YgAKkfPmPD',
      'FxSm86qcEw8wGfpX3T7X5fsnuK5XxYA6ZfVYJja29vMA'
    )
    
    /* [
        'FxSm86qcEw8wGfpX3T7X5fsnuK5XxYA6ZfVYJja29vMA',
        'DNhP2zAH5HM1kdUSmxcBqs8RP4vvUgRFc1YgAKkfPmPD',
      ]
    */
    
    ## Browser
    
    For using in browser include dist/browser.js

    Keywords

    none

    Install

    npm i @waves/assets-pairs-order

    DownloadsWeekly Downloads

    141

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    238 kB

    Total Files

    14

    Last publish

    Collaborators

    • vsuharnikov
    • gakhramanov
    • tsigel
    • ebceu4
    • vba2000
    • msmolyakov-waves
    • wavesadmin
    • dvshur
    • jlewka
    • kozhevnikov.peter
    • axepuff
    • okanishcheva
    • vladislav.petushkov
    • d.lobanov
    • emera1d