aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/md/docs
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-14 23:37:24 +0800
committerFabio Berger <me@fabioberger.com>2018-03-14 23:37:24 +0800
commit28d63ad8e12389b2a9fa23306e40f4b87be3b469 (patch)
tree9dd115aeab55b837cd286e3b3381306d2bedda2f /packages/website/md/docs
parent56eeea1e633b3d0b41b50df6dcd8f76d284d5c73 (diff)
downloaddexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar
dexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.gz
dexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.bz2
dexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.lz
dexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.xz
dexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.zst
dexon-sol-tools-28d63ad8e12389b2a9fa23306e40f4b87be3b469.zip
Add Web3Wrapper docs to website
Diffstat (limited to 'packages/website/md/docs')
-rw-r--r--packages/website/md/docs/web3_wrapper/installation.md17
-rw-r--r--packages/website/md/docs/web3_wrapper/introduction.md1
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.