Skip to content

Commit

Permalink
fix python scripts with public url
Browse files Browse the repository at this point in the history
  • Loading branch information
davidiw authored and aptos-bot committed Mar 12, 2022
1 parent e7fb581 commit 258fb62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions developer-docs-site/static/examples/first_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import time
from typing import Any, Dict, Optional, Sequence

TESTNET_URL = "https://dev.fullnode.aptoslabs.com"
FAUCET_URL = "https://faucet.dev.aptoslabs.com"
TESTNET_URL = "https://fullnode.devnet.aptoslabs.com"
FAUCET_URL = "https://faucet.devnet.aptoslabs.com"


"""
Expand Down Expand Up @@ -102,8 +102,8 @@ def generate_transaction(self, sender: str, payload: Dict[str, Any]) -> Dict[str
txn_request = {
"sender": f"0x{sender}",
"sequence_number": str(seq_num),
"max_gas_amount": "2000000",
"gas_unit_price": "2",
"max_gas_amount": "1000",
"gas_unit_price": "1",
"gas_currency_code": "XUS",
"expiration_timestamp_secs": str(int(time.time()) + 600),
"payload": payload,
Expand Down
4 changes: 2 additions & 2 deletions developer-docs-site/static/examples/hello_blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

from first_transaction import Account, FaucetClient, RestClient

TESTNET_URL = "https://dev.fullnode.aptoslabs.com"
FAUCET_URL = "https://faucet.dev.aptoslabs.com"
TESTNET_URL = "https://fullnode.devnet.aptoslabs.com"
FAUCET_URL = "https://faucet.devnet.aptoslabs.com"


class HelloBlockchainClient(RestClient):
Expand Down

0 comments on commit 258fb62

Please sign in to comment.