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

Add Everscale support #2428

Merged
merged 111 commits into from
Aug 31, 2022
Merged

Add Everscale support #2428

merged 111 commits into from
Aug 31, 2022

Conversation

pashinov
Copy link
Contributor

Description

Adding support for Everscale blockchain
https://everscale.network/

How to test

We've written test cases in tests/Everscale folder.

Types of changes

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

If you're adding a new blockchain

  • I have read the guidelines for adding a new blockchain.

src/Everscale/CellBuilder.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@hewigovens hewigovens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to create online account for user to receive coins?

@Rexagon
Copy link
Contributor

Rexagon commented Aug 18, 2022

Do we need to create online account for user to receive coins?

You just need to compute the address from pubkey. Explicit account deployment is not required, it occurs on the first outgoing transfer (init state is attached to the external message).

Copy link
Contributor

@optout21 optout21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good, I will need to check internal sources in more detail.

docs/registry.md Show resolved Hide resolved
src/Everscale/Address.cpp Outdated Show resolved Hide resolved
Co-authored-by: Adam V <13562139+catenocrypt@users.noreply.github.com>
@hewigovens hewigovens merged commit bca52a8 into trustwallet:master Aug 31, 2022
@stspbu stspbu mentioned this pull request Dec 19, 2022
5 tasks
DeanDonkov pushed a commit to changex-app/wallet-core that referenced this pull request Apr 7, 2023
* Generate Everscale coin stub
* Add cell stub
* Add cell serialization
* Add normalization address to lowercase test
* Make workchain id as i8
* Add transfer action to Everscale proto
* Normalize address implementation
* Add WalletV3 code
* Add cell deserialization
* Extend BuilderData interface
* Implement intoCell for BuilderData
* Finish address implementation
* Add CellSlice
* Improve address calculation
* Prepare and sign Everscale transaction
* Fix dst address for external in_message
* Fix message serialization to cell
* Reveal magic number
* Fix Everscale primitive types
* Fix CellSlice; sign message with state init test
* Add swift tests
* Android address tests
* WIP: fix conversion loses integer precision
* Add coin address derivation/validation tests
* Append workchain id to test address
* Optimize moving vec to array
* Replace map with vector for intermediate cell buffer
* Short representation of wallet code
* Integrate CellBuilder test into TW::Everscale namespace
* Sign method should return serialized transaction boc instead cell data
* Simplify parsing workchain id to avoid writing wasm tests
* sync with upstream
* Update network info
* Use `Hash::sha256` instead of raw hasher. Fix lints
* Refactor `clzU128`
* Complete ios tests
* Set rpc url

Co-authored-by: Ivan Kalinin <i.kalinin@dexpa.io>
Co-authored-by: milerius <rmscastle@gmail.com>
Co-authored-by: Ivan Kalinin <reide740@gmail.com>
Co-authored-by: Adam V <13562139+catenocrypt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants