Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: iotaledger/iota.py
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.9
Choose a base ref
...
head repository: iotaledger/iota.py
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 14,520 additions and 6,300 deletions.
  1. +58 −0 .github/CODE_OF_CONDUCT.md
  2. +154 −0 .github/CONTRIBUTING.md
  3. +48 −0 .github/ISSUE_TEMPLATE/bug_report.md
  4. +8 −0 .github/ISSUE_TEMPLATE/config.yml
  5. +28 −0 .github/ISSUE_TEMPLATE/feature_request.md
  6. +22 −0 .github/SECURITY.md
  7. +8 −0 .github/SUPPORT.md
  8. +29 −0 .github/pull_request_template.md
  9. +2 −3 .travis.yml
  10. +0 −167 CONTRIBUTING.rst
  11. +191 −0 README.md
  12. +26 −8 { → docs}/README.rst
  13. +129 −123 docs/adapters.rst
  14. +100 −26 docs/addresses.rst
  15. +72 −371 docs/api.rst
  16. +178 −0 docs/basic_concepts.rst
  17. +217 −0 docs/commands.rst
  18. +9 −3 docs/conf.py
  19. +119 −0 docs/core_api.rst
  20. +117 −0 docs/extended_api.rst
  21. +22 −30 docs/getting_started.rst
  22. +3 −0 docs/images/address_gen.svg
  23. BIN docs/images/bundle-structure.png
  24. +3 −0 docs/images/command_execution.svg
  25. +3 −0 docs/images/create_transfer.svg
  26. +3 −0 docs/images/transfer_api.svg
  27. +8 −2 docs/index.rst
  28. +136 −22 docs/multisig.rst
  29. +2 −0 docs/requirements.txt
  30. +322 −0 docs/transfers.rst
  31. +912 −0 docs/tutorials.rst
  32. +283 −249 docs/types.rst
  33. +6 −12 examples/address_generator.py
  34. +3 −9 examples/hello_world.py
  35. +35 −0 examples/local_pow.py
  36. +5 −9 examples/mam_js_send.py
  37. +0 −8 examples/multisig.py
  38. +0 −2 examples/routingwrapper_pow.py
  39. +0 −52 examples/sandbox.py
  40. +5 −7 examples/send_transfer.py
  41. +12 −0 examples/tutorials/01_hello_node.py
  42. +28 −0 examples/tutorials/02_send_data.py
  43. +25 −0 examples/tutorials/03_fetch_data.py
  44. +23 −0 examples/tutorials/04a_gen_address.py
  45. +25 −0 examples/tutorials/04b_check_balance.py
  46. +30 −0 examples/tutorials/04c_get_acc_data.py
  47. +32 −0 examples/tutorials/05_send_tokens.py
  48. +66 −0 examples/tutorials/06_store_encrypted.py
  49. +42 −0 examples/tutorials/07_fetch_encrypted.py
  50. +115 −0 examples/tutorials/08_async_send_monitor.py
  51. BIN iota-python.png
  52. +8 −6 iota/__init__.py
  53. +159 −83 iota/adapter/__init__.py
  54. +0 −289 iota/adapter/sandbox.py
  55. +60 −35 iota/adapter/wrappers.py
  56. +949 −459 iota/api.py
  57. +1,609 −0 iota/api_async.py
  58. +21 −30 iota/bin/__init__.py
  59. +8 −20 iota/bin/repl.py
  60. +16 −21 iota/codecs.py
  61. +30 −113 iota/commands/__init__.py
  62. +0 −5 iota/commands/core/__init__.py
  63. +1 −5 iota/commands/core/add_neighbors.py
  64. +17 −7 iota/commands/core/attach_to_tangle.py
  65. +3 −14 iota/commands/core/broadcast_transactions.py
  66. +1 −5 iota/commands/core/check_consistency.py
  67. +10 −32 iota/commands/core/find_transactions.py
  68. +8 −24 iota/commands/core/get_balances.py
  69. +3 −24 iota/commands/core/get_inclusion_states.py
  70. +2 −6 iota/commands/core/get_missing_transactions.py
  71. +1 −5 iota/commands/core/get_neighbors.py
  72. +1 −5 iota/commands/core/get_node_api_configuration.py
  73. +5 −7 iota/commands/core/get_node_info.py
  74. +0 −45 iota/commands/core/get_tips.py
  75. +4 −8 iota/commands/core/get_transactions_to_approve.py
  76. +4 −12 iota/commands/core/get_trytes.py
  77. +1 −5 iota/commands/core/interrupt_attaching_to_tangle.py
  78. +1 −5 iota/commands/core/remove_neighbors.py
  79. +3 −11 iota/commands/core/store_transactions.py
  80. +1 −5 iota/commands/core/were_addresses_spent_from.py
  81. +4 −4 iota/commands/extended/__init__.py
  82. +8 −7 iota/commands/extended/broadcast_and_store.py
  83. +45 −0 iota/commands/extended/broadcast_bundle.py
  84. +14 −18 iota/commands/extended/find_transaction_objects.py
  85. +14 −19 iota/commands/extended/get_account_data.py
  86. +36 −88 iota/commands/extended/get_bundles.py
  87. +9 −13 iota/commands/extended/get_inputs.py
  88. +0 −56 iota/commands/extended/get_latest_inclusion.py
  89. +34 −21 iota/commands/extended/get_new_addresses.py
  90. +52 −0 iota/commands/extended/get_transaction_objects.py
  91. +12 −15 iota/commands/extended/get_transfers.py
  92. +0 −28 iota/commands/extended/helpers.py
  93. +121 −0 iota/commands/extended/is_promotable.py
  94. +15 −23 iota/commands/extended/is_reattachable.py
  95. +12 −16 iota/commands/extended/prepare_transfer.py
  96. +9 −13 iota/commands/extended/promote_transaction.py
  97. +9 −13 iota/commands/extended/replay_bundle.py
  98. +14 −18 iota/commands/extended/send_transfer.py
  99. +10 −14 iota/commands/extended/send_trytes.py
  100. +112 −0 iota/commands/extended/traverse_bundle.py
  101. +67 −46 iota/commands/extended/utils.py
  102. +0 −4 iota/crypto/__init__.py
  103. +76 −41 iota/crypto/addresses.py
  104. +0 −4 iota/crypto/kerl/__init__.py
  105. +13 −14 iota/crypto/kerl/conv.py
  106. +15 −15 iota/crypto/kerl/pykerl.py
  107. +17 −17 iota/crypto/pycurl.py
  108. +80 −89 iota/crypto/signing.py
  109. +112 −28 iota/crypto/types.py
  110. +1 −5 iota/exceptions.py
  111. +93 −21 iota/filters.py
  112. +1 −8 iota/json.py
  113. +0 −4 iota/multisig/__init__.py
  114. +313 −52 iota/multisig/api.py
  115. +0 −4 iota/multisig/commands/__init__.py
  116. +6 −8 iota/multisig/commands/create_multisig_address.py
  117. +10 −12 iota/multisig/commands/get_digests.py
  118. +9 −11 iota/multisig/commands/get_private_keys.py
  119. +52 −56 iota/multisig/commands/prepare_multisig_transfer.py
  120. +0 −3 iota/multisig/crypto/__init__.py
  121. +5 −11 iota/multisig/crypto/addresses.py
  122. +23 −7 iota/multisig/transaction.py
  123. +46 −8 iota/multisig/types.py
  124. +0 −4 iota/transaction/__init__.py
  125. +413 −163 iota/transaction/base.py
  126. +261 −69 iota/transaction/creation.py
  127. +24 −15 iota/transaction/types.py
  128. +2 −9 iota/transaction/utils.py
  129. +17 −22 iota/transaction/validator.py
  130. +7 −18 iota/trits.py
  131. +485 −164 iota/types.py
  132. +19 −25 setup.py
  133. +4 −13 test/__init__.py
  134. +0 −3 test/adapter/__init__.py
  135. +0 −414 test/adapter/sandbox_test.py
  136. +6 −8 test/adapter/wrappers_test.py
  137. +97 −87 test/adapter_test.py
  138. +17 −41 test/api_test.py
  139. +1 −8 test/codecs_test.py
  140. +0 −3 test/commands/__init__.py
  141. +0 −3 test/commands/core/__init__.py
  142. +42 −11 test/commands/core/add_neighbors_test.py
  143. +50 −23 test/commands/core/attach_to_tangle_test.py
  144. +47 −19 test/commands/core/broadcast_transactions_test.py
  145. +49 −18 test/commands/core/check_consistency_test.py
  146. +71 −43 test/commands/core/find_transactions_test.py
  147. +45 −110 test/commands/core/get_balances_test.py
  148. +59 −88 test/commands/core/get_inclusion_states_test.py
  149. +42 −13 test/commands/core/get_missing_transactions_test.py
  150. +42 −11 test/commands/core/get_neighbors_test.py
  151. +42 −11 test/commands/core/get_node_api_configuration_test.py
  152. +50 −12 test/commands/core/get_node_info_test.py
  153. +0 −152 test/commands/core/get_tips_test.py
  154. +44 −14 test/commands/core/get_transactions_to_approve_test.py
  155. +42 −13 test/commands/core/get_trytes_test.py
  156. +42 −11 test/commands/core/interrupt_attaching_to_tangle_test.py
  157. +42 −11 test/commands/core/remove_neighbors_test.py
  158. +46 −17 test/commands/core/store_transactions_test.py
  159. +42 −12 test/commands/core/were_addresses_spent_from_test.py
  160. +0 −3 test/commands/extended/__init__.py
  161. +49 −19 test/commands/extended/broadcast_and_store_test.py
  162. +233 −0 test/commands/extended/broadcast_bundle_test.py
  163. +75 −20 test/commands/extended/{find_transaction_objects.py → find_transaction_objects_test.py}
  164. +93 −25 test/commands/extended/get_account_data_test.py
  165. +425 −420 test/commands/extended/get_bundles_test.py
  166. +131 −77 test/commands/extended/get_inputs_test.py
  167. +0 −239 test/commands/extended/get_latest_inclusion_test.py
  168. +138 −36 test/commands/extended/get_new_addresses_test.py
  169. +144 −0 test/commands/extended/get_transaction_objects_test.py
  170. +94 −48 test/commands/extended/get_transfers_test.py
  171. +0 −45 test/commands/extended/helpers_test.py
  172. +442 −0 test/commands/extended/is_promotable_test.py
  173. +46 −18 test/commands/extended/is_reattachable_test.py
  174. +116 −62 test/commands/extended/prepare_transfer_test.py
  175. +55 −21 test/commands/extended/promote_transaction_test.py
  176. +52 −22 test/commands/extended/replay_bundle_test.py
  177. +54 −24 test/commands/extended/send_transfer_test.py
  178. +53 −22 test/commands/extended/send_trytes_test.py
  179. +492 −0 test/commands/extended/traverse_bundle_test.py
  180. +799 −0 test/commands/extended/utils_test.py
  181. +0 −3 test/crypto/__init__.py
  182. +0 −18 test/crypto/addresses_test.py
  183. +0 −3 test/crypto/kerl/__init__.py
  184. +0 −10 test/crypto/kerl/pykerl_test.py
  185. +0 −16 test/crypto/pycurl_test.py
  186. +0 −6 test/crypto/signing_test.py
  187. +15 −10 test/crypto/types_test.py
  188. +1 −9 test/filters_test.py
  189. +164 −0 test/local_pow_test.py
  190. +0 −3 test/multisig/__init__.py
  191. +0 −3 test/multisig/commands/__init__.py
  192. +48 −20 test/multisig/commands/create_multisig_address_test.py
  193. +53 −26 test/multisig/commands/get_digests_test.py
  194. +51 −21 test/multisig/commands/get_private_keys_test.py
  195. +59 −23 test/multisig/commands/prepare_multisig_transfer_test.py
  196. +0 −3 test/multisig/crypto/__init__.py
  197. +0 −8 test/multisig/crypto/addresses_test.py
  198. +0 −8 test/multisig/transaction_test.py
  199. +0 −3 test/transaction/__init__.py
  200. +0 −9 test/transaction/base_test.py
  201. +241 −40 test/transaction/creation_test.py
  202. +42 −12 test/transaction/types_test.py
  203. +0 −6 test/transaction/utils_test.py
  204. +0 −8 test/transaction/validator_test.py
  205. +1 −5 test/trits_test.py
  206. +143 −44 test/types_test.py
  207. +2 −1 tox.ini
58 changes: 58 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Community Code of Conduct

In the IOTA community, participants from all over the world come together to create. This is made possible by the support, hard work and enthusiasm of thousands of people, including those who create and use the IOTA technology.

This document offers some guidance to ensure IOTA participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

This Code of Conduct is shared by all contributors and users who engage with the IOTA Foundation team and its community services.

## Overview

This Code of Conduct presents a summary of the shared values and “common sense” thinking in our community. The basic social ingredients that hold our project together include:

- Being considerate
- Being respectful
- Being collaborative
- Being pragmatic
- Supporting others in the community
- Getting support from others in the community

This Code of Conduct reflects the agreed standards of behavior for members of the IOTA community, in any social media platform, forum, mailing list, wiki, web site, discord channel, public meeting or private correspondence within the context of the IOTA Foundation team and the IOTA Tangle technology. The community acts according to the standards written down in this Code of Conduct and will defend these standards for the benefit of the community. Leaders of any group, such as moderators of social media groups, mailing lists, discord channels, forums, etc., will exercise the right to suspend access to any person who persistently breaks our shared Code of Conduct.

## Be considerate

Your actions and work will affect and be used by other people and you, in turn, will depend on the work and actions of others. Any decision you take will affect other community members, and we expect you to take those consequences into account when making decisions.

As a user, remember that community members work hard on their part of IOTA and take great pride in it.

## Be respectful

In order for the IOTA community to stay healthy, its members must feel comfortable and accepted. Treating one another with respect is absolutely necessary for this. In a disagreement, in the first instance, assume that people mean well.

We do not tolerate personal attacks, racism, sexism or any other form of discrimination. Disagreement is inevitable, from time to time, but respect for the views of others will go a long way to winning respect for your own view. Respecting other people, their work, their contributions and assuming well-meaning motivation will make community members feel comfortable and safe and will result in motivation and productivity.

We expect members of our community to be respectful when dealing with other contributors, users, and communities. Remember that IOTA is an international project and that you may be unaware of important aspects of other cultures.

## Be collaborative

Your feedback is important, as is its form. Poorly thought out comments can cause pain and the demotivation of other community members, but considerate discussion of problems can bring positive results. An encouraging word works wonders.

## Be pragmatic

The IOTA community is pragmatic and fair. We value tangible results over having the last word in a discussion. We defend our core values like freedom and respectful collaboration, but we don’t let arguments about minor issues get in the way of achieving more important results. We are open to suggestions and welcome solutions regardless of their origin. When in doubt support a solution which helps to get things done over one which has theoretical merits, but isn’t being worked on. Use the tools and methods which help to get the job done. Let decisions be taken by those who do the work.

## Support others in the community

The IOTA community is made strong by mutual respect, collaboration and pragmatic, responsible behavior. Sometimes there are situations where this has to be defended and other community members need help.

If you witness others being attacked, think first about how you can offer them personal support. If you feel that the situation is beyond your ability to help individually, go privately to the victim and ask if some form of official intervention is needed.

When problems do arise, consider respectfully reminding those involved of our shared Code of Conduct as a first action. Leaders are defined by their actions and can help set a good example by working to resolve issues in the spirit of this Code of Conduct before they escalate.

## Get support from others in the community

Disagreements, both political and technical, happen all the time. Our community is no exception to the rule. The goal is not to avoid disagreements or differing views but to resolve them constructively. You should turn to the community to seek advice and to resolve disagreements and where possible consult the team most directly involved.

Think deeply before turning a disagreement into a public dispute. If necessary, request mediation, and try to resolve differences in a less emotional medium. If you do feel that you or your work is being attacked, take your time to think things through before writing heated replies. Consider a 24-hour moratorium if emotional language is being used – a cooling-off period is sometimes all that is needed. If you really want to go a different way, then we encourage you to publish your ideas and your work, so that it can be tried and tested.

This work, "IOTA Community Guidelines", is a derivative of the [Community code of conduct by ownCloud](https://owncloud.org/community/code-of-conduct/), used under [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/). "IOTA Community Guidelines" is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) by IOTA Foundation.
154 changes: 154 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
# Contribute to the Python client library

This document describes how to contribute to the Python client library.

We encourage everyone with knowledge of IOTA technology to contribute.

Thanks! :heart:

<details>
<summary>Do you have a question :question:</summary>
<br>

If you have a general or technical question, you can use one of the following resources instead of submitting an issue:

- [**Developer documentation:**](https://docs.iota.org/) For official information about developing with IOTA technology
- [**Discord:**](https://discord.iota.org/) For real-time chats with the developers and community members
- [**IOTA cafe:**](https://iota.cafe/) For technical discussions with the Research and Development Department at the IOTA Foundation
- [**StackExchange:**](https://iota.stackexchange.com/) For technical and troubleshooting questions
</details>

<br>

<details>
<summary>Ways to contribute :mag:</summary>
<br>

To contribute to the Python client library on GitHub, you can:

- Report a bug
- Suggest a new feature
- Build a new feature
- Contribute to the documentation
</details>

<br>

<details>
<summary>Report a bug :bug:</summary>
<br>

This section guides you through reporting a bug. Following these guidelines helps maintainers and the community understand the bug, reproduce the behavior, and find related bugs.

### Before reporting a bug

Please check the following list:

- **Do not open a GitHub issue for [security vulnerabilities](SECURITY.MD)**, instead, please contact us at [security@iota.org](mailto:security@iota.org).

- **Ensure the bug was not already reported** by searching on GitHub under [**Issues**](https://github.com/iotaledger/iota.py/issues). If the bug has already been reported **and the issue is still open**, add a comment to the existing issue instead of opening a new one. You can also find related issues by their [label](https://github.com/iotaledger/iota.py/labels?page=1&sort=name-asc).

**Note:** If you find a **Closed** issue that seems similar to what you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

### Submitting A Bug Report

To report a bug, [open a new issue](https://github.com/iotaledger/iota.py/issues/new), and be sure to include as many details as possible, using the template.

**Note:** Minor changes such as fixing a typo can but do not need an open issue.

If you also want to fix the bug, submit a [pull request](#pull-requests) and reference the issue.
</details>

<br>

<details>
<summary>Suggest a new feature :bulb:</summary>
<br>

This section guides you through suggesting a new feature. Following these guidelines helps maintainers and the community collaborate to find the best possible way forward with your suggestion.

### Before suggesting a new feature

**Ensure the feature has not already been suggested** by searching on GitHub under [**Issues**](https://github.com/iotaledger/iota.py/issues).

### Suggesting a new feature

To suggest a new feature, talk to the IOTA community and IOTA Foundation members on [Discord](https://discord.iota.org/).

If the team members approve your feature, they will create an issue for it.
</details>

<br>

<details>
<summary>Build a new feature :hammer:</summary>
<br>

This section guides you through building a new feature. Following these guidelines helps give your feature the best chance of being approved and merged.

### Before building a new feature

Make sure to discuss the feature with the developers on [Discord](https://discord.iota.org/).

Otherwise, your feature may not be approved at all.

### Building a new feature

To build a new feature, check out a new branch based on the `develop` branch, and be sure to consider the following:

- If the feature will become part of PyOTA's public interface (i.e., it includes methods that will be invoked by other developers in their applications), make sure to document it, using [Sphinx-style](https://www.sphinx-doc.org/en/master/) code comments.

</details>

<br>

<details>
<summary>Contribute to the documentation :black_nib:</summary>
<br>

The Python client library documentation is hosted on https://docs.iota.org, which is built from content in the [documentation](https://github.com/iotaledger/documentation) repository.

Please see the [guidelines](https://github.com/iotaledger/documentation/CONTRIBUTING.md) on the documentation repository for information on how to contribute to the documentation.
</details>

<br>

<details>
<summary>Pull requests :mega:</summary>
<br>

This section guides you through submitting a pull request (PR). Following these guidelines helps give your PR the best chance of being approved and merged.

### Before submitting a pull request

When creating a pull request, please follow these steps to have your contribution considered by the maintainers:

- A pull request should have only one concern (for example one feature or one bug). If a PR addresses more than one concern, it should be split into two or more PRs.

- A pull request can be merged only if it references an open issue.

**Note:** Minor changes such as fixing a typo can but do not need an open issue.

- All code should include comprehensive unit tests.

### Submitting a pull request

The following is a typical workflow for submitting a new pull request:

1. Fork this repository
2. Create a new branch based on your fork
3. Commit changes and push them to your fork
4. Create a pull request against the `develop` branch

If all [status checks](https://help.github.com/articles/about-status-checks/) pass, and the maintainer approves the PR, it will be merged.

**Note:** Reviewers may request changes before your pull request can be approved and merged.
</details>

<br>

<details>
<summary>Code of Conduct :clipboard:</summary>
<br>

This project and everyone participating in it are governed by the [IOTA Code of Conduct](CODE_OF_CONDUCT.md).
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Report a bug in the Python client library
about: Report a bug
labels: bug
---

## Bug description

Briefly describe the bug.

## Version

Which version of the library are you running?

- PyOTA Version:
- Python Version:

## IOTA network

Which node are you connected to and which IOTA network is it in?

- Node URL:
- Network:

## Environment

What operating system are you using?

- Operating system:
## Steps To reproduce the bug

Explain how the maintainer can reproduce the bug.

1.
2.
3.

## Expected behaviour

Describe what you expect to happen.

## Actual behaviour

Describe what actually happens.

## Errors

Paste here any error messages and/or stacktraces that you see.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Discord
url: https://discord.iota.org/
about: Please ask and answer questions here.
- name: Security vulnerabilities
url: security@iota.org
about: Please report security vulnerabilities here.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Request a feature for the Python client library
about: Request a feature
---

## Description

Briefly describe the feature that you are requesting.

## Motivation

Explain why this feature is needed.

## Requirements

Write a list of what you want this feature to do.

1.
2.
3.

## Open questions (optional)

Use this section to ask any questions that are related to the feature.

## Are you planning to do it yourself in a pull request?

Yes/No.
22 changes: 22 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<h2>Responsible disclosure policy</h2>

At the IOTA Foundation, we consider the security of our systems a top priority. But no matter how much effort we put into system security, there can still be vulnerabilities present. If you've discovered a vulnerability, please follow the guidelines below to report it to our security team:
<ul>
<li>E-mail your findings to security@iota.org. If the report contains highly sensitive information, please consider encrypting your findings using our contact@iota.org PGP key (fingerprint 466385BD0B40D9550F93C04746A440CCE5664A64).</li>
</ul>
Please follow these rules when testing/reporting vulnerabilities:
<ul>
<li>Do not take advantage of the vulnerability you have discovered, for example by downloading more data than is necessary to demonstrate the vulnerability.</li>
<li>Do not read, modify or delete data that isn't your own.</li>
<li>We ask that you not disclose the problem to third parties until it has been resolved.</li>
<li>The scope of the program is limited to technical vulnerabilities in IOTA Foundations's web applications and open source software packages distributed through GitHub — please do not try to test physical security or attempt phishing attacks against our employees, and so on.</li>
<li>Out of concern for the availability of our services to all users, please do not attempt to carry out DoS attacks, leverage black hat SEO techniques, spam people, and do other similarly questionable things. We also discourage the use of any vulnerability testing tools that automatically generate significant volumes of traffic.</li>
</ul>
What we promise:
<ul>
<li>We will respond to your report within 3 business days with our evaluation of the report and an expected resolution date.</li>
<li>If you have followed the instructions above, we will not take any legal action against you in regard to the report.</li>
<li>We will keep you informed during all stages of resolving the problem.</li>
<li>To show our appreciation for your effort and cooperation during the report, we will list your name and a link to a personal website/social network profile on the page below so that the public can know you've helped keep the IOTA Foundation secure.</li>
</ul>
We sincerely appreciate the efforts of security researchers in keeping our community safe.
8 changes: 8 additions & 0 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Community resources

If you have a general or technical question, you can use one of the following resources instead of submitting an issue:

- [**Developer documentation:**](https://docs.iota.org/) For official information about developing with IOTA technology
- [**Discord:**](https://discord.iota.org/) For real-time chats with the developers and community members
- [**IOTA cafe:**](https://iota.cafe/) For technical discussions with the Research and Development Department at the IOTA Foundation
- [**StackExchange:**](https://iota.stackexchange.com/) For technical and troubleshooting questions
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Description of change

Please write a summary of your changes and why you made them. Be sure to reference any related issues by adding `fixes # (issue)`.

## Type of change

Choose a type of change, and delete any options that are not relevant.

- Bug fix (a non-breaking change which fixes an issue)
- Enhancement (a non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- Documentation Fix

## How the change has been tested

Describe the tests that you ran to verify your changes.

Make sure to provide instructions for the maintainer as well as any relevant configurations.

## Change checklist

Add an `x` to the boxes that are relevant to your changes, and delete any items that are not.

- [ ] My code follows the contribution guidelines for this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation (`docs/` directory and/or `docstring`s in source code)
- [ ] I have followed [PEP-8](https://www.python.org/dev/peps/pep-0008/) Style Guide in my code.
- [ ] New and existing unit tests pass locally with my changes
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
language: python
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
install:
- pip install .
- pip install .[docs-builder,test-runner]
- pip install docutils pygments # Used to check package metadata.
script:
- python setup.py check --strict --metadata --restructuredtext
- nosetests
- cd docs && make html && cd .. # Build documentation.
deploy:
on:
python: '3.7'
Loading