Skip to content
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

[Promote] new version with mobile bindings and new networks #54

Merged
merged 94 commits into from
Aug 28, 2024

Conversation

brunocampos-ssa
Copy link
Contributor

@brunocampos-ssa brunocampos-ssa commented Aug 28, 2024

Summary by CodeRabbit

  • New Features

    • Introduced localization capabilities with a configuration file for language settings.
    • Added automated workflows for publishing Android and iOS packages upon release.
    • Implemented unit tests for cryptographic functionalities in the KOS module.
  • Bug Fixes

    • Updated dependency management and streamlined build processes for mobile platforms.
  • Documentation

    • Enhanced README with detailed features, installation instructions, and project structure.
    • Added .gitignore files to exclude unnecessary files from version control for both Android and iOS projects.
  • Chores

    • Cleaned up build scripts and configurations to improve project organization and maintainability.

fbsobreira and others added 30 commits September 8, 2023 08:27
* add memo to options

* new send options

* TRX memo field

* KDA fee

* KLV memo request

* easy options with models

* update dependencies

* fix skip deny check prost build
* Add wasm constructor for send options

* lint && clippy
* fix KLV transfer request KDA

* migrate KLV test to new file and implement KDA send test

* validate asset id and fees with klv send test
* Update README.md
* set compressed default for BTC from bytes

* update deps && remove cargo outdated check

* fix broken tests

* btc fix serde default height

* HTTP basic auth

* basic auth for BTC && switch test address
* chore: get trx legacy path

* chore: use general option for getPath

* chore: update demo

* fix: lint checks
* add eth decode tx

* remove idea

* add unity test

* update format

* remove .to_vec() from data

* add from json method

* update tests
Bumps [h2](https://github.com/hyperium/h2) from 0.3.22 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md)
- [Commits](hyperium/h2@v0.3.22...v0.3.24)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matheus Cysneiros <[email protected]>
* feat: send trc20 token

* fix: contract_address parse & trc20 transfer abi

* fix: set triggersmartcontract fee_limit

* fix: send trc20 test

* create a evm20Abi and break trx send in multiple functions

* doing a cargo fix

* change the function as terminal sugested

* change formatting

* change function for transfer asset

* add fee-limit fron sendOptions to transfer options on trc20 transfer

* fix clippy

* chore: rename trigger_smartcontract function & ContractOptions

* chore: reorganize imports

---------

Co-authored-by: MCysneiros <[email protected]>
* update klever protos

* ignore CVE-2024-0727
* change transferFrom to transfer on send ETH

* fix evm20 abi

* fix transferFrom abi
* feat: add method to serialize tron tx to raw hex

* update dependencies (#41)

* feat: serialize btc raw tx

* fix: cargo lock

* changed required due lint alerts

* cleaning deny messages due web dependy tree

* improve code clean

* fix eth and matic tests

* fix default node in tests

---------

Co-authored-by: Fernando Sobreira <[email protected]>
Co-authored-by: Bruno Campos <[email protected]>
* initial coderabbitai config file and readme updated

* added single end file to the readme

* fix stale action params
Copy link

coderabbitai bot commented Aug 28, 2024

Walkthrough

The changes encompass the introduction of new configuration files, enhancements to existing workflows, updates to dependency management, and the addition of scripts for building mobile applications. Key modifications include the establishment of GitHub Actions for Android and iOS publishing, updates to the Rust toolchain installation process, and the integration of new libraries and dependencies in the Rust project. The overall structure is refined to support mobile development more effectively.

Changes

File(s) Change Summary
.coderabbit.yaml Added configuration file specifying language settings for localization.
.github/actions/rustup/action.yaml Modified Rust toolchain installation from an action dependency to direct shell commands for enhanced control.
.github/workflows/publish-android.yaml, .github/workflows/publish-ios.yaml Introduced new workflows for automated publishing of Android and iOS packages upon release creation.
.github/workflows/pull-develop.yaml Removed outdated dependency checks and simplified environment variable restoration.
.github/workflows/stale.yaml Upgraded actions/stale action version and removed stale-label parameter.
.gitignore Added entry to ignore .idea directory for JetBrains IDEs.
.pants-ignore Updated entries for vulnerabilities associated with openssl-sys, reflecting new version references.
Cargo.toml, packages/kos-mobile/Cargo.toml Updated dependencies and added new packages, enhancing project structure and functionality.
Makefile Introduced new targets for cleaning, building, and testing Android and iOS applications.
README.md Enhanced documentation to reflect project rebranding and provide detailed usage instructions.
demo/js/index.js Modified wallet path generation for improved flexibility.
deny.toml Restructured bans and licenses management, removing the advisories section.
packages/kos-mobile/android/... Introduced multiple files for Android project configuration, including .gitignore, build.gradle.kts, gradle.properties, and others to streamline the build process.
packages/kos-mobile/ios/... Added files for iOS project configuration, including .gitignore, Xcode project files, and scripts for building the iOS library.
packages/kos-mobile/build_android.sh, packages/kos-mobile/build_ios.sh, packages/kos-mobile/build_clean.sh, packages/kos-mobile/build_source.sh New scripts to automate the build process for Android and iOS libraries, including cleaning up build artifacts and setting up the environment.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant GitHub Actions
    participant Android Build System
    participant iOS Build System

    Developer->>GitHub Actions: Create Release
    GitHub Actions->>Android Build System: Trigger Android Build
    Android Build System->>GitHub Actions: Build Successful
    GitHub Actions->>Developer: Notify Android Build Success

    Developer->>GitHub Actions: Create Release
    GitHub Actions->>iOS Build System: Trigger iOS Build
    iOS Build System->>GitHub Actions: Build Successful
    GitHub Actions->>Developer: Notify iOS Build Success
Loading

🐰 In the meadow, changes bloom bright,
New scripts and workflows take flight.
Android and iOS, side by side,
With builds that now flow like a tide.
A hop, a skip, through code we prance,
Celebrating progress, we dance! 🌼✨


Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@brunocampos-ssa
Copy link
Contributor Author

@coderabbitai summary

Copy link

coderabbitai bot commented Aug 28, 2024

Actions performed

Summary regeneration triggered.

@brunocampos-ssa brunocampos-ssa merged commit 6f4264f into master Aug 28, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants