w3b3d3v / kyodo-protocol

https://kyodo-protocol-mvp.vercel.app
MIT License
12 stars 5 forks source link

Improved Transaction Handling and Agreement Creation on EVM and Solana #88

Closed nomadbitcoin closed 11 months ago

nomadbitcoin commented 11 months ago

This Pull Request encapsulates a range of enhancements, bug fixes, and new feature implementations aimed at improving the overall functionality and user experience of our platform. The primary focus is on the AddAgreement functionality, now extended to support both local EVM and Solana networks. Below is a breakdown of the contributions:

By @Jaxiii:

By @mikaelcarrara:

The significant upgrade in the AddAgreement functionality paves the way for robust transaction handling across multiple networks. While this update mainly addresses the transaction handling in AddAgreement, other interactions within the platform remain outdated and will be tackled in the upcoming PRs.

This PR closes issues #41, #56 , #74 .

gitguardian[bot] commented 11 months ago

⚠️ GitGuardian has uncovered 5 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | Secret | Commit | Filename | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [8328152](https://dashboard.gitguardian.com/incidents/8328152?occurrence=117067475) | Generic High Entropy Secret | 595ed03a6fb593bc25eef6b19949b673fd998789 | contracts/solana/scripts/createAgreements.ts | [View secret](https://github.com/w3b3d3v/kyodo-protocol/commit/595ed03a6fb593bc25eef6b19949b673fd998789#diff-d59936d802a02ae05c94b37b2553d2ab199e19f5aedc975a2505e1a00753658cR56) | | [8328152](https://dashboard.gitguardian.com/incidents/8328152?occurrence=117067476) | Generic High Entropy Secret | ab74a1c6510e9edd612857a109dcb5b62a64c12b | chains/solana/transactions.js | [View secret](https://github.com/w3b3d3v/kyodo-protocol/commit/ab74a1c6510e9edd612857a109dcb5b62a64c12b#diff-60345eafa0e78ca15098a8aa4515c709b6dc07d95169963ce9593b1ef293bbf8L41) | | [8328152](https://dashboard.gitguardian.com/incidents/8328152?occurrence=117067477) | Generic High Entropy Secret | 1c0074dc95e9018b6f5b4058d19a2c359cd0ef84 | contracts/solana/scripts/createAgreements.ts | [View secret](https://github.com/w3b3d3v/kyodo-protocol/commit/1c0074dc95e9018b6f5b4058d19a2c359cd0ef84#diff-d59936d802a02ae05c94b37b2553d2ab199e19f5aedc975a2505e1a00753658cR65) | | [8328152](https://dashboard.gitguardian.com/incidents/8328152?occurrence=117067478) | Generic High Entropy Secret | 595ed03a6fb593bc25eef6b19949b673fd998789 | contracts/solana/scripts/createAgreements.ts | [View secret](https://github.com/w3b3d3v/kyodo-protocol/commit/595ed03a6fb593bc25eef6b19949b673fd998789#diff-d59936d802a02ae05c94b37b2553d2ab199e19f5aedc975a2505e1a00753658cL65) | | [8328152](https://dashboard.gitguardian.com/incidents/8328152?occurrence=117067479) | Generic High Entropy Secret | 9ddb187d104a293e864384ea93a76ff88d0ef107 | chains/solana/transactions.js | [View secret](https://github.com/w3b3d3v/kyodo-protocol/commit/9ddb187d104a293e864384ea93a76ff88d0ef107#diff-60345eafa0e78ca15098a8aa4515c709b6dc07d95169963ce9593b1ef293bbf8R41) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/detectors/generics/generic_high_entropy_secret#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!