Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.65 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.65 KB

0x-fill-order-example

Example how to create and fill a 0x order based on v4 of the protocol on Ropsten (Chain ID = 3).

Installation

Clone or fork 0x-fill-order-example:

git clone https://github.com/Walodja1987/0x-fill-order-example

Install all dependencies:

cd 0x-fill-order-example

npm install

Run your app:

npm start

0x packages used

The following 0x packages were used (note that these packages will be installed automatically when running npm install):

@0x/contract-addresses A tiny utility library to get the 0x contract addresses across networks. Link to github: https://github.com/0xProject/protocol/blob/development/packages/contract-addresses/addresses.json

@0x/protocol-utils 0x protocol-related utilities for the V4/Exchange Proxy constellation of contracts. Link to github: https://github.com/0xProject/protocol/tree/development/packages/protocol-utils

@0x/contract-wrappers: ...

web3: ...

qs: ...

Optional in case you want to use 0x library to initialize your provider or if you want to work with multiple providers that will handle different sets of JSON RPC requests (Provider Engine): @0x/subproviders Link: https://0x.org/docs/tools/subproviders

Links