Created
January 16, 2020 15:45
-
-
Save DylanVerstraete/d7da6bfeff6eea8a4a30ca72a88e1488 to your computer and use it in GitHub Desktop.
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
from Jumpscale import j | |
try: | |
from stellar_sdk import Server, Keypair, TransactionBuilder, Network | |
from stellar_sdk.exceptions import BadRequestError | |
except (ModuleNotFoundError, ImportError): | |
j.builders.runtime.python3.pip_package_install("stellar_sdk") | |
try: | |
from stellar_base import Address | |
except (ModuleNotFoundError, ImportError): | |
j.builders.runtime.python3.pip_package_install("stellar_base") | |
from stellar_sdk import Server, Keypair, TransactionBuilder, Network | |
from stellar_sdk.exceptions import BadRequestError | |
from stellar_base import Address | |
import requests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment