Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Hands-On-Blockchain-for-Python-Developers--2nd-Edition
/ functions
Functions
162 in github.com/PacktPublishing/Hands-On-Blockchain-for-Python-Developers--2nd-Edition
⨍
Functions
162
◇
Types & classes
21
↳
Endpoints
5
↓ 4 callers
Method
_hash
(self, data : bytes)
chapter_9/merkle_tree.py:25
↓ 3 callers
Method
_hash
(self, data : bytes)
chapter_9/merkle_dag.py:26
↓ 3 callers
Function
like_video
(contract, video_liker, video_uploader, index)
chapter_10/videos_sharing_smart_contract/tests/test_video_sharing.py:10
↓ 3 callers
Function
transfer_coins
(contract, source, destination, amount)
chapter_10/videos_sharing_smart_contract/tests/test_video_sharing.py:7
↓ 3 callers
Function
upload_video
(contract, account, video_path, video_title)
chapter_10/videos_sharing_smart_contract/tests/test_video_sharing.py:4
↓ 3 callers
Method
upload_video
(self, video_user, password, video_file, title)
chapter_10/decentralized_videos/videos/models.py:111
↓ 2 callers
Method
get_video_path
(self, user, index)
chapter_10/decentralized_videos/videos/models.py:63
↓ 2 callers
Method
get_video_title
(self, user, index)
chapter_10/decentralized_videos/videos/models.py:69
↓ 2 callers
Method
like_video
(self, video_liker, password, video_user, index)
chapter_10/decentralized_videos/videos/models.py:134
↓ 1 callers
Method
_build_root_hash
(self)
chapter_9/merkle_tree.py:28
↓ 1 callers
Method
_convert_parent_from_two_nodes
(self, node1 : bytes, node2)
chapter_9/merkle_tree.py:48
↓ 1 callers
Method
_hash_list
(self)
chapter_9/merkle_tree.py:17
↓ 1 callers
Method
_iterate_directory_contents
(self, directory : str)
chapter_9/merkle_dag.py:29
↓ 1 callers
Method
_turn_leaf_nodes_to_hash_nodes
(self)
chapter_9/merkle_tree.py:21
↓ 1 callers
Function
add
(file_path)
chapter_10/decentralized_videos/videos/models.py:25
↓ 1 callers
Function
add
(file_path)
chapter_10/videos_sharing_smart_contract/scripts/upload.py:6
↓ 1 callers
Function
add_file
()
chapter_10/add_file.py:4
↓ 1 callers
Function
cat_file
()
chapter_10/get_unicorn.py:4
↓ 1 callers
Function
create_access_token
(data: dict, expires_delta: Union[timedelta, None] = None)
chapter_17/token-gated-backend/token_gated_app.py:63
↓ 1 callers
Function
fetchNonce
()
chapter_17/token-gated-blog/src/App.tsx:30
↓ 1 callers
Function
fetch_public_key
(user)
chapter_1/validate_message.py:7
↓ 1 callers
Function
generate_nonce
(length=16)
chapter_17/token-gated-backend/token_gated_app.py:73
↓ 1 callers
Function
get
()
chapter_10/download_cat_picture.py:4
↓ 1 callers
Function
get
()
chapter_10/download_a_directory_of_cute_cat_picture.py:4
↓ 1 callers
Function
get
(ipfs_path, download_path)
chapter_10/decentralized_videos/videos/models.py:19
↓ 1 callers
Method
get_video
(self, user, index)
chapter_10/decentralized_videos/videos/models.py:85
↓ 1 callers
Method
get_video_thumbnail
(self, ipfs_path)
chapter_10/decentralized_videos/videos/models.py:75
↓ 1 callers
Function
main
Run administrative tasks.
chapter_10/decentralized_videos/manage.py:7
↓ 1 callers
Method
process_thumbnail
(self, ipfs_path)
chapter_10/decentralized_videos/videos/models.py:125
↓ 1 callers
Method
recent_videos
(self, amount=20)
chapter_10/decentralized_videos/videos/models.py:45
Function
App
()
chapter_17/token-gated-blog/src/App.tsx:4
Method
__eq__
(self, other)
chapter_9/merkle_dag.py:40
Method
__init__
(self)
chapter_8/wallet/scripts/wallet_transfer.py:10
Method
__init__
(self)
chapter_8/wallet/scripts/wallet_transfer_address_from_db.py:12
Method
__init__
(self)
chapter_8/wallet/scripts/full_wallet.py:23
Method
__init__
(self)
chapter_8/wallet/scripts/add_wallet_to_db.py:11
Method
__init__
(self, filepath : str)
chapter_9/merkle_dag.py:10
Method
__init__
(self, leaf_nodes : List[str])
chapter_9/merkle_tree.py:8
Method
__init__
(self)
chapter_7/hello_button.py:6
Method
__init__
(self)
chapter_7/simple_app.py:6
Method
__init__
(self)
chapter_7/hello_pyside.py:6
Method
__init__
(self)
chapter_7/complex_hello.py:5
Method
__init__
(self)
chapter_7/voting_app/scripts/voting_gui_app.py:7
Method
__init__
(self)
chapter_10/decentralized_videos/videos/models.py:37
Method
__repr__
(self)
chapter_9/merkle_dag.py:37
Function
borrower
(accounts)
chapter_15/vault/tests/conftest.py:9
Method
button_on_clicked
(self)
chapter_7/hello_button.py:17
Method
button_on_clicked
(self)
chapter_7/simple_app.py:21
Method
button_on_clicked
(self)
chapter_7/voting_app/scripts/voting_gui_app.py:25
Function
contract
(deployer, project)
chapter_6/voting_app/tests/conftest.py:9
Function
contract
(deployer, project)
chapter_5/simple_storage/tests/conftest.py:9
Function
contract
(deployer, project)
chapter_12/erc20/tests/conftest.py:9
Function
contract
(deployer, project)
chapter_13/nft/tests/conftest.py:9
Function
contract
(deployer, project)
chapter_10/videos_sharing_smart_contract/tests/conftest.py:9
Function
delegate_contract
(deployer, project)
chapter_6/voting_app/tests/conftest.py:13
Function
deployer
(accounts)
chapter_6/voting_app/tests/conftest.py:5
Function
deployer
(accounts)
chapter_5/simple_storage/tests/conftest.py:5
Function
deployer
(accounts)
chapter_14/nft_marketplace/tests/conftest.py:5
Function
deployer
(accounts)
chapter_12/erc20/tests/conftest.py:5
Function
deployer
(accounts)
chapter_15/vault/tests/conftest.py:5
Function
deployer
(accounts)
chapter_16/dex/tests/conftest.py:5
Function
deployer
(accounts)
chapter_13/nft/tests/conftest.py:5
Function
deployer
(accounts)
chapter_10/videos_sharing_smart_contract/tests/conftest.py:5
Function
depositor
(accounts)
chapter_15/vault/tests/conftest.py:13
Function
erc721_contract
(deployer, project)
chapter_13/nft/tests/conftest.py:13
Function
exchange
(deployer, project, token)
chapter_16/dex/tests/conftest.py:13
Function
get_current_active_user
( current_user: Annotated[User, Depends(get_current_user)], )
chapter_17/token-gated-backend/token_gated_app.py:142
Function
get_current_user
(token: Annotated[str, Depends(oauth2_scheme)])
chapter_17/token-gated-backend/token_gated_app.py:124
Function
give_token
(token_contract, lending_contract, deployer, depositor)
chapter_15/vault/tests/conftest.py:37
Function
index
(request)
chapter_10/decentralized_videos/videos/views.py:5
Function
lending_contract
(deployer, project, token_contract, borrower)
chapter_15/vault/tests/conftest.py:17
Function
like
(request)
chapter_10/decentralized_videos/videos/views.py:26
Function
login_for_access_token
( crypto: Crypto, )
chapter_17/token-gated-backend/token_gated_app.py:101
Method
magic
(self)
chapter_7/complex_hello.py:21
Function
main
()
chapter_8/wallet/scripts/wallet_transfer.py:43
Function
main
()
chapter_8/wallet/scripts/wallet_transfer_address_from_db.py:55
Function
main
()
chapter_8/wallet/scripts/full_wallet.py:82
Function
main
()
chapter_8/wallet/scripts/add_wallet_to_db.py:41
Function
main
()
chapter_5/simple_storage/scripts/update_num.py:5
Function
main
()
chapter_5/simple_storage/scripts/deploy.py:5
Function
main
()
chapter_7/voting_app/scripts/add_proposals.py:5
Function
main
()
chapter_7/voting_app/scripts/voting_gui_app.py:41
Function
main
()
chapter_7/voting_app/scripts/give_right_to_vote.py:5
Function
main
()
chapter_7/voting_app/scripts/deploy.py:5
Function
main
()
chapter_7/voting_app/scripts/vote.py:5
Function
main
()
chapter_10/videos_sharing_smart_contract/scripts/bootstrap.py:5
Function
main
()
chapter_10/videos_sharing_smart_contract/scripts/deploy.py:5
Function
main
()
chapter_10/videos_sharing_smart_contract/scripts/upload.py:16
Function
main
()
chapter_11/arbitrum/scripts/deploy.py:5
Function
main
()
chapter_17/token-gated-smart-contract/scripts/deploy.py:5
Function
main
()
chapter_17/token-gated-smart-contract/scripts/send_nft.py:5
Function
marketplace_contract
(deployer, project)
chapter_14/nft_marketplace/tests/conftest.py:9
Function
mint_nfts
(nft_contract, deployer, num_nfts=5)
chapter_14/nft_marketplace/tests/conftest.py:17
Function
mint_nfts
(erc721_contract, deployer, num_nfts=5)
chapter_13/nft/tests/conftest.py:17
Function
nft_contract
(deployer, project)
chapter_14/nft_marketplace/tests/conftest.py:13
Function
nonce
(address: str)
chapter_17/token-gated-backend/token_gated_app.py:94
Function
read_content
( current_user: Annotated[User, Depends(get_current_active_user)], )
chapter_17/token-gated-backend/token_gated_app.py:157
Function
read_users_me
( current_user: Annotated[User, Depends(get_current_active_user)], )
chapter_17/token-gated-backend/token_gated_app.py:148
Function
root
()
chapter_2/main.py:11
Method
run
(self)
chapter_8/wallet/scripts/full_wallet.py:10
next →
1–100 of 162, ranked by callers