-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Started reworking Docs * improved table of content * issue with anchors * issue with anchors * More docs + more standalone examples * more consistency and new TOC * fix issues link * Started reworking Docs * improved table of content * issue with anchors * issue with anchors * More docs + more standalone examples * more consistency and new TOC * fix issues link * docs(SDK Docs): Updated SDK Docs including Quick Start and Examples Closes #340 * started reworking docs as per https://hackmd.aepps.com/s/rygc6uZp4 * restructure existing docs as per https://hackmd.aepps.com/s/rygc6uZp4 * adjust releasing instructions * more Docs restructuring according to https://hackmd.aepps.com/s/rygc6uZp4 * splitted guides into more files * removed emojis to allow anchor links in github * making it pretty * typo * typos * auto-generated docs for NodeJS Examples in new folder * updated examples, examples doc and needed deps * copy correct lock file for CI * update node on CI * testing node 11-slim after 12-slim failed * updating package.json an all lock files * Revert node version for CI
- Loading branch information
1 parent
a1494fd
commit 9e17863
Showing
90 changed files
with
5,544 additions
and
5,953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Guides | ||
|
||
## Intro | ||
There are three different ways of incorporating aepp-sdk-js into your project, depending on the particular scenario: | ||
* ES Modules at `es/` (recommended) | ||
* Node.js bundle at `dist/aepp-sdk.js` | ||
* Browser bundle at `dist/aepp-sdk.browser.js` | ||
|
||
Also, please be aware that using `require` instead of module loader syntax | ||
(`import`) means that the default export automatically becomes exposed as | ||
`default`, which is reflected below in the code examples. This is due to a | ||
recent change in [Babel] compilation and fully compliant with the standard. | ||
|
||
### Flavors / Entry Points | ||
|
||
The recommended approach to use aepp-sdk is to import one of the following _Ae | ||
Factories_ based on the specific use case: | ||
|
||
* [@aeternity/aepp-sdk/es/ae/wallet](api/ae/wallet.md): for **Wallet**'s focused development | ||
* [@aeternity/aepp-sdk/es/ae/contract](api/ae/contract.md): for **Contract**'s focused development | ||
* [@aeternity/aepp-sdk/es/ae/aepp](api/ae/aepp.md): for **Web Aepp**'s focused development ⚠️ **_No Wallet support_** | ||
* [@aeternity/aepp-sdk/es/ae/aens](api/ae/aens.md): for **AENs**' focused development | ||
* [@aeternity/aepp-sdk/es/ae/oracle](api/ae/oracle.md): for **Oracle**'s focused development | ||
* [@aeternity/aepp-sdk/es/ae/universal](api/ae/universal.md): for **Universal** development (includes all SDK features) | ||
|
||
In order to cater to more specific needs, it is recommended to refer to the | ||
[contributing Docs](contrib/README.md). | ||
|
||
### Testing Networks | ||
When initialising a client, to test, you can use Aeternity's Test Nework URLs: | ||
|
||
### Testnet (https://sdk-testnet.aepps.com) | ||
You can use this URL with any releasee on [npmjs](https://www.npmjs.com/package/@aeternity/aepp-sdk). It offers the last stable version of [Node](https://github.com/aeternity/aeternity), used by all of of Aeternity's Dev Tools. | ||
|
||
## Guides | ||
### Browser | ||
- [**SDK usage** Understanding low vs high level](guides/low-vs-high-usage.md) | ||
- [Import SDK bundle with **`<script>`** tag](guides/import-script-tag.md) | ||
- [Import SDK **ES Modules** (enabling Tree-Shaking)](guides/import-tree-shaking.md) | ||
- [Import SDK in **VueJS**](guides/import-vuejs.md) | ||
### NodeJS Environment | ||
- [Import SDK in **NodeJS**](guides/import-nodejs.md) | ||
|
||
|
||
## Examples | ||
Check out our [Examples](../examples/README.md) for more. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ⚠️ Disclaimer | ||
We're doing our best to keep the API documentation up to date, but [please let us know if you see some out-of-date file](https://github.com/aeternity/aepp-sdk-js/issues/new). Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.