Skip to content

Commit

Permalink
chore: improve documentation and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Jan 12, 2022
1 parent a78f330 commit b43586e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ plugins:
exclude_patterns:
- "docs/"
- "stellar_sdk/xdr/"
- "stellar_sdk/vendor/"
- "tests/"

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
time: "09:00"
timezone: Asia/Shanghai
open-pull-requests-limit: 10
target-branch: v6
target-branch: v7
reviewers:
- overcat
assignees:
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Stellar Python SDK
:alt: PyPI
:target: https://pypi.python.org/pypi/stellar-sdk

.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue
.. image:: https://img.shields.io/badge/python-%3E%3D3.6-blue
:alt: Python - Version
:target: https://pypi.python.org/pypi/stellar-sdk

Expand Down Expand Up @@ -59,11 +59,11 @@ Installing
We follow `Semantic Versioning 2.0.0 <https://semver.org/>`_, and I strongly
recommend that you specify its major version number in the dependency
file to avoid the unknown effects of a corrupt update.
file to avoid the unknown effects of breaking changes.

A Simple Example
----------------
You can find more examples `here <https://github.com/StellarCN/py-stellar-base/tree/v6/examples>`__.
You can find more examples `here <https://github.com/StellarCN/py-stellar-base/tree/v7/examples>`__.

Building transaction with synchronous server

Expand Down Expand Up @@ -142,7 +142,7 @@ Links
-----
* Document: https://stellar-sdk.readthedocs.io
* Code: https://github.com/StellarCN/py-stellar-base
* Examples: https://github.com/StellarCN/py-stellar-base/tree/v6/examples
* Examples: https://github.com/StellarCN/py-stellar-base/tree/v7/examples
* Issue tracker: https://github.com/StellarCN/py-stellar-base/issues
* License: `Apache License 2.0 <https://github.com/StellarCN/py-stellar-base/blob/master/LICENSE>`_
* Releases: https://pypi.org/project/stellar-sdk/
Expand Down
4 changes: 2 additions & 2 deletions docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Stellar Python SDK
:alt: PyPI
:target: https://pypi.python.org/pypi/stellar-sdk

.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue
.. image:: https://img.shields.io/badge/python-%3E%3D3.6-blue
:alt: Python - Version
:target: https://pypi.python.org/pypi/stellar-sdk

Expand Down Expand Up @@ -94,7 +94,7 @@ Links
-----
* Document: https://stellar-sdk.readthedocs.io
* Code: https://github.com/StellarCN/py-stellar-base
* Examples: https://github.com/StellarCN/py-stellar-base/tree/dev/examples
* Examples: https://github.com/StellarCN/py-stellar-base/tree/v7/examples
* Issue tracker: https://github.com/StellarCN/py-stellar-base/issues
* License: `Apache License 2.0 <https://github.com/StellarCN/py-stellar-base/blob/master/LICENSE>`_
* Releases: https://pypi.org/project/stellar-sdk/
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Stellar Python SDK
:alt: PyPI
:target: https://pypi.python.org/pypi/stellar-sdk

.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue
.. image:: https://img.shields.io/badge/python-%3E%3D3.6-blue
:alt: Python - Version
:target: https://pypi.python.org/pypi/stellar-sdk

Expand Down Expand Up @@ -89,7 +89,7 @@ stellar-model 可以将 Stellar Horizon 返回的 JSON 解析为 Python 实例
-----
* 文档: https://stellar-sdk.readthedocs.io
* 源代码: https://github.com/StellarCN/py-stellar-base
* 示例: https://github.com/StellarCN/py-stellar-base/tree/dev/examples
* 示例: https://github.com/StellarCN/py-stellar-base/tree/v7/examples
* Issue 追踪: https://github.com/StellarCN/py-stellar-base/issues
* 许可证: `Apache License 2.0 <https://github.com/StellarCN/py-stellar-base/blob/master/LICENSE>`_
* 已发布版本: https://pypi.org/project/stellar-sdk/
Expand Down
2 changes: 1 addition & 1 deletion stellar_sdk/transaction_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TransactionBuilder:
server = Server("https://horizon-testnet.stellar.org")
alice_account = server.load_account(alice_keypair.public_key)
network_passphrase = Network.TESTNET_NETWORK_PASSPHRASE
base_fee = server.fetch_base_fee()
base_fee = 100
transaction = (
TransactionBuilder(
source_account=alice_account,
Expand Down

0 comments on commit b43586e

Please sign in to comment.