diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-14 23:37:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-14 23:37:24 +0800 |
commit | 28d63ad8e12389b2a9fa23306e40f4b87be3b469 (patch) | |
tree | 9dd115aeab55b837cd286e3b3381306d2bedda2f /packages/website/md | |
parent | 56eeea1e633b3d0b41b50df6dcd8f76d284d5c73 (diff) | |
download | dexon-0x-contracts-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.gz dexon-0x-contracts-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.zst dexon-0x-contracts-28d63ad8e12389b2a9fa23306e40f4b87be3b469.zip |
Add Web3Wrapper docs to website
Diffstat (limited to 'packages/website/md')
-rw-r--r-- | packages/website/md/docs/web3_wrapper/installation.md | 17 | ||||
-rw-r--r-- | packages/website/md/docs/web3_wrapper/introduction.md | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/website/md/docs/web3_wrapper/installation.md b/packages/website/md/docs/web3_wrapper/installation.md new file mode 100644 index 000000000..6e9b4cb59 --- /dev/null +++ b/packages/website/md/docs/web3_wrapper/installation.md @@ -0,0 +1,17 @@ +**Install** + +```bash +npm install @0xproject/web3-wrapper --save +``` + +**Import** + +```javascript +import { Web3Wrapper } from '@0xproject/web3-wrapper'; +``` + +or + +```javascript +var Web3Wrapper = require('@0xproject/web3-wrapper').Web3Wrapper; +``` diff --git a/packages/website/md/docs/web3_wrapper/introduction.md b/packages/website/md/docs/web3_wrapper/introduction.md new file mode 100644 index 000000000..ea2f4cf0d --- /dev/null +++ b/packages/website/md/docs/web3_wrapper/introduction.md @@ -0,0 +1 @@ +Welcome to the [Web3Wrapper](https://github.com/0xProject/0x-monorepo/tree/development/packages/web3-wrapper) documentation! Web3Wrapper is a convenience library that wraps Web3 v0.x, providing promise-based endpoints and a consistent API. |