Naboo's Podracing Misadventure

    ark-pool-server-js

    1.0.15 • Public • Published

    ARK-Go Pool Server API Wrapper

    Makes working with your Delegate Pool Server easier in JavaScript.

    Install

    npm install ark-pool-server-js --save
    yarn add ark-pool-server-js
    

    Configure

    either set an Environment variable for ARK_POOL_SERVER_IP or set it on window.arkPoolServerIP

    Getting Started

    import ArkPoolServer from 'ark-pool-server-js'
    

    Example

      ArkPoolServer.getDelegate().then((res) => {
        console.log(res);
      });
    

    API End Points

      ArkPoolServer.getDelegateConfig()
    
      ArkPoolServer.getPaymentRuns()
    
      ArkPoolServer.getPaymentRunDetails(params = {parentId: parentId, address: address})
      [takes an optional params object and has 2 available options `parentId` and `address`]
    
      ArkPoolServer.getVoters()
    
      ArkPoolServer.getVotersBlocked()
    
      ArkPoolServer.getVotersRewards()
    

    Support Our Delegate

    Want to support our work? Vote for our ARK Delegate - arkoar.group - https://arkoar.group

    Keywords

    none

    Install

    npm i ark-pool-server-js

    DownloadsWeekly Downloads

    16

    Version

    1.0.15

    License

    MIT

    Unpacked Size

    8.37 kB

    Total Files

    6

    Last publish

    Collaborators

    • travisdmathis