The Firefly Client Library allows traders to sign, create, retrieve and listen to orders on Firefly Exchange.
npm install @firefly-exchange/firefly-client
A typescript Firefly client library for creating signed orders and placing them on exchange.The library provides an interface to connect with on-chain contracts and off-chain orderbook and listen to socket events emitted from both firefly's on-chain and off-chain part of the protocol.
The documentation about the library could be found here
Examples on how to use the library are available here
yarn buildyarn testyarn lint