ddk-node 1.0.0

DDK node to facilitate DLC contracts.
Documentation
{
  "offerCollateral": 100000000,
  "acceptCollateral": 100000000,
  "feeRate": 2,
  "contractInfos": [
    {
      "contractDescriptor": {
        "numerical": {
          "payoutFunction": {
            "payoutFunctionPieces": [
              {
                "polynomialPayoutCurvePiece": {
                  "payoutPoints": [
                    {
                      "eventOutcome": 0,
                      "outcomePayout": 0,
                      "extraPrecision": 0
                    },
                    {
                      "eventOutcome": 50000,
                      "outcomePayout": 0,
                      "extraPrecision": 0
                    }
                  ]
                }
              },
              {
                "polynomialPayoutCurvePiece": {
                  "payoutPoints": [
                    {
                      "eventOutcome": 50000,
                      "outcomePayout": 0,
                      "extraPrecision": 0
                    },
                    {
                      "eventOutcome": 60000,
                      "outcomePayout": 200000000,
                      "extraPrecision": 0
                    }
                  ]
                }
              },
              {
                "polynomialPayoutCurvePiece": {
                  "payoutPoints": [
                    {
                      "eventOutcome": 60000,
                      "outcomePayout": 200000000,
                      "extraPrecision": 0
                    },
                    {
                      "eventOutcome": 1048575,
                      "outcomePayout": 200000000,
                      "extraPrecision": 0
                    }
                  ]
                }
              }
            ]
          },
          "roundingIntervals": {
            "intervals": [
              {
                "beginInterval": 0,
                "roundingMod": 1
              }
            ]
          },
          "differenceParams": null,
          "oracleNumericInfos": {
            "base": 2,
            "nbDigits": [20]
          }
        }
      },
      "oracles": {
        "publicKeys": [
          "0d829c1cc556aa59060df5a9543c5357199ace5db9bcd5a8ddd6ee2fc7b6d174"
        ],
        "eventId": "btcusd1707120297",
        "threshold": 1
      }
    }
  ]
}