AlphaWallet / AlphaWallet/alpha-wallet-android

If Transaction is a constructor treat specially in ActionSheet

Đang mở
#2,810 0 bình luận 0 reaction 1 người được giao Được @justindg nhận Xem trên GitHub
Ngôn ngữ chính
Java
Star
646
Fork
579
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If Transaction is a constructor:

- Display transaction as 'Constructor' in ActionSheet
- Display Transaction Deployment Address (*)

(*) See `class EthUtils` -> `calculateContractAddress(String account, long nonce)`

It might make sense to move this code into the app's ```class Utils```, and reference it from the test from here (I think you can do that). You might have to get the nonce value, or pass it in via the Web3Transaction. It's fetched when we do the transaction gas estimate.

It would be really good if that contract address has a 'copy to clipboard' on it too. The reason is I want to provide people with an easy way to find what address the contract will deploy to before they send.

To test, use my test page here:

https://jamessmartcell.github.io/

You can mint NFT contracts via WalletConnect. Note that you can't (easily!) get information about the contract itself, I guess unless it's a totally standard ERC721/ERC20.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.