UNPKG

@defichain/jellyfish

Version:

A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance for Bitcoin

3 lines (2 loc) 401 B
var{JsonRpcClient:t}=require("@defichain/jellyfish-api-jsonrpc");const e=function(t){return{url:t,protocol:"JSON-RPC 1.0"}};exports.HttpProvider=e;const n={timeout:6e4};const o=function(e,o){const r="string"==typeof e?e:e.url;return new t(r,Object.assign(n,null!=o?o:{}))};exports.Client=o;const r={Client:o,HttpProvider:e};exports.default=r,exports.Jellyfish=r; //# sourceMappingURL=index.cjs.js.map