Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
confxsd committed Apr 29, 2024
1 parent bb6552e commit 737668c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sdk/demos/python/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PRIVATE_KEY=
OPENAI_API_KEY=
5 changes: 5 additions & 0 deletions sdk/demos/python/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
venv
build
dist
*.egg-info
.env
2 changes: 1 addition & 1 deletion sdk/demos/python/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# print("os.getenv('PRIVATE_KEY')", os.getenv('PRIVATE_KEY'))

web3 = Web3()
wallet = web3.eth.account.from_key("")
wallet = web3.eth.account.from_key("bf2d4ae856c8fb6a32b07dc40778800ff9dafabbaaf65e96384866008cd3ef59")
client = IndexClient(domain="index.network", wallet=wallet, network="ethereum")
# client = IndexClient("index.network", private_key=os.getenv('PRIVATE_KEY'), network="ethereum")

Expand Down
6 changes: 5 additions & 1 deletion sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@

setup(
name='indexnetwork-sdk',
version='0.0.2',
version='0.0.3',
description='Index Network SDK',
long_description="Index Network Client SDK",
long_description_content_type='text/markdown',
author='Index',
author_email='[email protected]',
url='https://github.com/indexnetwork/index',
packages=find_packages(),
include_package_data=True,
package_data={
"indexnetwork_sdk": ["bin/session.bin"],
},
install_requires=[
'abnf',
'aiohttp',
Expand Down

0 comments on commit 737668c

Please sign in to comment.