This package provides TypeScript bindings to the tBTC v2 system.
Please make sure you have the following prerequisites installed on your machine:
To install dependencies, run:
yarn install
NOTE: The @keep-network/tbtc.ts
package contains an indirect dependency to
@summa-tx/[email protected]
package, which downloads one of its sub-dependencies
via unathenticated git://
protocol. That protocol is no longer supported by
GitHub. This means that in certain situations installation of the package or
update of its dependencies using Yarn may result in The unauthenticated git
protocol on port 9418 is no longer supported
or fatal: unable to connect
to github.com
errors.
As a workaround, we advise changing Git configuration to use https://
protocol
instead of git://
by executing:
git config --global url."https://".insteadOf git://
To build the library, invoke:
yarn build
A dist
directory containing the resulting artifacts will be created.