Feat: Added Ethereum contract compilation, deployment, and retrieval on Besu and Quorum #119

Merged
madhuLin merged 23 commits from feat/contract-compile-deploy-query into 3.3.0 2025-06-19 04:14:34 -04:00
madhuLin commented 2025-04-10 03:40:40 -04:00 (Migrated from github.com)

PULL REQUEST

Before

說明 (Description)

  • Contract Compilation: Integrated BDK solc for Ethereum contract compilation, improving compilation performance and standardizing the use of BDK solc as the compiler.
  • Contract Deployment: Deployed BDK ETH contracts on the Besu and Quorum blockchains, supporting contract deployment on both platforms.
  • Contract Retrieval: Added a contract retrieval command to easily access deployed contract information.

相關問題 (Linked Issues)

貢獻種類 (Type of change)

  • Bug fix (除錯 non-breaking change which fixes an issue)
  • New feature (增加新功能 non-breaking change which adds functionality)
  • Breaking change (可能導致相容性問題 fix or feature that would cause existing functionality to not work as expected)
  • Doc change (需要更新文件 this change requires a documentation update)

測試環境 (Test Configuration):

  • OS: Windows
  • NodeJS Version:18.13.0
  • NPM Version:8.19.3
  • Docker Version:27.3.1

檢查清單 (Checklist):

  • 我的程式碼遵從此專案的規範 (My code follows the style guidelines of this project)
  • 我有對於自己的程式碼進行測試檢查 (I have performed a self-review of my own code)
  • 我有在程式碼中提供必要的註解 (I have commented my code, particularly in hard-to-understand areas)
  • 我有在文件中進行必要的更動 (I have made corresponding changes to the documentation)
  • 我的程式碼更動沒有顯著增加錯誤數量 (My changes generate no new warnings)
  • 我有新增必要的單元測試 (I have added tests that prove my fix is effective or that my feature works)
  • 我有檢查並更正程式碼錯誤的拼字 (I have checked my code and corrected any misspellings)

我已完成以上清單,並且同意遵守 Code of Conduct

I have completed the checklist and agree to abide by the code of conduct.

  • 同意 (I consent)
# PULL REQUEST ## Before <!-- Please check the one that applies to this PR using "x". --> - [x] 遵守 Commit 規範 (follow [commit convention](https://github.com/cathayddt/bdk/blob/master/.github/COMMIT_CONVENTION.md)) - [x] 遵守 Contributing 規範 (follow [contributing](https://github.com/cathayddt/bdk/blob/master/.github/CONTRIBUTING.md)) ## 說明 (Description) <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> <!--請簡單說明此PR的更動、被修復的問題以及相關的原因,並請列出這個更動所需要的任何相依模組/套件。 Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.--> - **Contract Compilation**: Integrated BDK solc for Ethereum contract compilation, improving compilation performance and standardizing the use of BDK solc as the compiler. - **Contract Deployment**: Deployed BDK ETH contracts on the Besu and Quorum blockchains, supporting contract deployment on both platforms. - **Contract Retrieval**: Added a contract retrieval command to easily access deployed contract information. ## 相關問題 (Linked Issues) <!-- - Related issues linked `fixes #number` - Tests added. Pass Coverage. - Errors have a helpful link. --> ## 貢獻種類 (Type of change) - [ ] Bug fix (除錯 non-breaking change which fixes an issue) - [x] New feature (增加新功能 non-breaking change which adds functionality) - [ ] Breaking change (可能導致相容性問題 fix or feature that would cause existing functionality to not work as expected) - [x] Doc change (需要更新文件 this change requires a documentation update) **測試環境 (Test Configuration)**: * OS: Windows * NodeJS Version:18.13.0 * NPM Version:8.19.3 * Docker Version:27.3.1 ## 檢查清單 (Checklist): - [x] 我的程式碼遵從此專案的規範 (My code follows the style guidelines of this project) - [x] 我有對於自己的程式碼進行測試檢查 (I have performed a self-review of my own code) - [x] 我有在程式碼中提供必要的註解 (I have commented my code, particularly in hard-to-understand areas) - [x] 我有在文件中進行必要的更動 (I have made corresponding changes to the documentation) - [x] 我的程式碼更動沒有顯著增加錯誤數量 (My changes generate no new warnings) - [x] 我有新增必要的單元測試 (I have added tests that prove my fix is effective or that my feature works) - [x] 我有檢查並更正程式碼錯誤的拼字 (I have checked my code and corrected any misspellings) 我已完成以上清單,並且同意遵守 [Code of Conduct](CODE_OF_CONDUCT.md) I have completed the checklist and agree to abide by the [code of conduct](CODE_OF_CONDUCT.md). - [x] 同意 (I consent)
kth-tw (Migrated from github.com) reviewed 2025-04-10 03:40:40 -04:00
Yorkchung (Migrated from github.com) reviewed 2025-05-15 23:10:39 -04:00
@ -44,7 +44,7 @@
"test:fabric": "nyc npm run test -- --grep Fabric",
Yorkchung (Migrated from github.com) commented 2025-05-15 23:10:39 -04:00

Remember to update CHANGELOG.md by running the command npm run git:changelog.

Remember to update CHANGELOG.md by running the command npm run git:changelog.
Yorkchung (Migrated from github.com) reviewed 2025-05-15 23:11:05 -04:00
@ -44,7 +44,7 @@
"test:fabric": "nyc npm run test -- --grep Fabric",
Yorkchung (Migrated from github.com) commented 2025-05-15 23:11:05 -04:00

The tag must be v3.4.0

The tag must be v3.4.0
Yorkchung (Migrated from github.com) reviewed 2025-05-15 23:14:16 -04:00
Yorkchung commented 2025-05-15 23:17:22 -04:00 (Migrated from github.com)

Remember to update the README and docs/eth/EXAMPLE.md.

Remember to update the README and docs/eth/EXAMPLE.md.
Yorkchung (Migrated from github.com) reviewed 2025-05-15 23:26:09 -04:00
@ -0,0 +1,77 @@
import { Argv, Arguments } from 'yargs'
Yorkchung (Migrated from github.com) commented 2025-05-15 23:26:09 -04:00

Remove unnecessary comments.

Remove unnecessary comments.
Yorkchung (Migrated from github.com) reviewed 2025-05-16 00:13:51 -04:00
@ -0,0 +1,77 @@
import { Argv, Arguments } from 'yargs'
Yorkchung (Migrated from github.com) commented 2025-05-16 00:13:51 -04:00

You can use loadRemoteVersion to automatically fetch the desired solc version.

You can use loadRemoteVersion to automatically fetch the desired solc version.
Yorkchung (Migrated from github.com) reviewed 2025-06-10 05:51:27 -04:00
madhuLin (Migrated from github.com) reviewed 2025-06-19 02:38:08 -04:00
@ -44,7 +44,7 @@
"test:fabric": "nyc npm run test -- --grep Fabric",
madhuLin (Migrated from github.com) commented 2025-06-19 02:38:08 -04:00

Finish

Finish
madhuLin (Migrated from github.com) reviewed 2025-06-19 02:38:23 -04:00
@ -0,0 +1,77 @@
import { Argv, Arguments } from 'yargs'
madhuLin (Migrated from github.com) commented 2025-06-19 02:38:22 -04:00

Finish

Finish
madhuLin (Migrated from github.com) reviewed 2025-06-19 02:38:28 -04:00
@ -0,0 +1,77 @@
import { Argv, Arguments } from 'yargs'
madhuLin (Migrated from github.com) commented 2025-06-19 02:38:28 -04:00

Finish

Finish
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cathayddt/bdk!119
No description provided.