Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/adapters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ the networking, communicating with a node.
You can choose and configure the available adapters to be used with the API:

- HttpAdapter,
- SandboxAdapter,
- MockAdapter.

AdapterSpec
Expand Down
28 changes: 0 additions & 28 deletions docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ You can:

- `Run your own node.`_
- `Use a light wallet node.`_
- `Use the sandbox node.`_

Note that light wallet nodes often disable certain features like PoW for
security reasons.
Expand All @@ -68,37 +67,10 @@ Test your connection to the server by sending a ``getNodeInfo`` command:

You are now ready to send commands to your IOTA node!

Using the Sandbox Node
----------------------
To connect to the sandbox node, you will need to inject a
:py:class:`SandboxAdapter` into your :py:class:`Iota` object. This will modify
your API requests so that they contain the necessary authentication metadata.

.. code-block:: python

from iota.adapter.sandbox import SandboxAdapter

api = Iota(
# To use sandbox mode, inject a ``SandboxAdapter``.
adapter = SandboxAdapter(
# URI of the sandbox node.
uri = 'https://sandbox.iotatoken.com/api/v1/',

# Access token used to authenticate requests.
# Contact the node maintainer to get an access token.
auth_token = 'auth token goes here',
),

# Seed used for cryptographic functions.
# If null, a random seed will be generated.
seed = b'SEED9GOES9HERE',
)

.. _forum: https://forum.iota.org/
.. _official api: https://docs.iota.org/docs/node-software/0.1/iri/references/api-reference
.. _pyota-ccurl extension: https://pypi.python.org/pypi/PyOTA-CCurl
.. _pyota-pow extension: https://pypi.org/project/PyOTA-PoW/
.. _run your own node.: http://iotasupport.com/headlessnode.shtml
.. _slack: http://slack.iota.org/
.. _use a light wallet node.: http://iotasupport.com/lightwallet.shtml
.. _use the sandbox node.: http://dev.iota.org/sandbox
52 changes: 0 additions & 52 deletions examples/sandbox.py

This file was deleted.

289 changes: 0 additions & 289 deletions iota/adapter/sandbox.py

This file was deleted.

Loading