-
Notifications
You must be signed in to change notification settings - Fork 1
Initial commit #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
LICENSE
Outdated
MIT License | ||
|
||
Copyright (c) 2024 Gnosis | ||
Copyright (c) 2018-2021 Streamlit Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that correct?
python_web3_wallet/__init__.py
Outdated
# `declare_component` and call it done. The wrapper allows us to customize | ||
# our component's API: we can pre-process its input args, post-process its | ||
# output value, and add a docstring for users. | ||
def my_component(recipient: str, amount_in_ether: str, key=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the value that should be sent in the data missing here?
|
||
from python_web3_wallet import my_component | ||
|
||
c = my_component(recipient="0x...", amount_in_ether="0.01") # Displays RainbowKit wallet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't data
required now as well?
-> Created new streamlit custom component
-> Uploaded to testpypi (https://test.pypi.org/project/python-web3-wallet/)
-> Will upload to Pypi once this gets merged