Commit Graph

131 Commits

Author SHA1 Message Date
tdejoigny-ledger
eeb52344df ETH plugin SDK : Move some parts from plugin boilerplate to Eth plugin SDK to ease the plugins development, remove throw and fix the CI issues 2023-10-10 16:42:19 +02:00
tjulien-ledger
c52816e398 Update network.c
Adding Base, Sepolia and Polygon zkEVM
2023-07-19 15:27:13 +02:00
Alexandre Paillier
64910546e0 Added Neon mainnet 2023-07-18 17:25:51 +02:00
Victor Forgeoux
2109de0286 Add OKB network
https://chainlist.org/chain/196
2023-07-18 17:25:51 +02:00
Victor Forgeoux
03d1be4025 Add Telos network
Add Telos EVM Mainnet network (https://chainlist.org/chain/40)
2023-07-18 17:25:51 +02:00
Victor Forgeoux
4ed2521a07 Update networks
Added LUSKO and LUSKO Testnet : https://github.com/LedgerHQ/app-ethereum/pull/436

Added PulseChain : https://github.com/LedgerHQ/app-ethereum/pull/430

Added Neon Devnet : https://github.com/LedgerHQ/app-ethereum/pull/439

Adding Chiado and Renamed xDAI to Gnosis : https://github.com/LedgerHQ/app-ethereum/pull/422

Added Venidium : https://github.com/LedgerHQ/app-ethereum/pull/382
2023-07-18 17:25:49 +02:00
Alexandre Paillier
c8360741a4 Activated ENS on other Ethereum-compatible chains 2023-07-06 14:45:31 +02:00
Alexandre Paillier
34ea137c1a network.c functions cleanup 2023-07-06 14:45:29 +02:00
Alexandre Paillier
8361e349b7 Now has a separate struct for caller app name & icon
- New home screen wording
- Removed duplicate RUN_APPLICATION macro
2023-05-16 11:42:30 +02:00
Clement Bouvet
0414a043c8 rework plugin start so name and icon can be passed to eth 2023-05-16 11:42:30 +02:00
Alexandre Paillier
b5c58b59cf network: cleanup 2023-05-16 11:42:29 +02:00
Alexandre Paillier
cc283f271c Changed strcpy to strlcpy for the static analysis 2023-04-24 14:52:37 +02:00
Alexandre Paillier
9735116f50 Nonce handling fixes
One test had a nonce way too big that was causing issue with the recent refactoring
2023-04-24 11:30:15 +02:00
Alexandre Paillier
e15899c92e Moved hash_byte & hash_nbytes functions to common
Also fixed possible overflow on large payload hashing
2023-03-29 17:53:29 +02:00
tjulien-ledger
45c049fd04 Oasys (#413)
* correcting ticker

* modifying conf file

* updating main.c

* updating chainConfig.h

* Removed last bits of EWC

* correcting arbitrum

* adding oasys conf file

* adding oasys icons

* remaining changes for oasys

* removing trailing space

---------

Co-authored-by: Alexandre Paillier <alexandre.paillier@ledger.fr>
2023-03-10 18:41:35 +01:00
tjulien-ledger
e70e3180b5 ticker correction (#399)
* correcting ticker

* modifying conf file

* updating main.c

* updating chainConfig.h

* Removed last bits of EWC

* correcting arbitrum

---------

Co-authored-by: Alexandre Paillier <alexandre.paillier@ledger.fr>
2023-02-06 14:23:50 +01:00
tjulien-ledger
f5b32109be correcting ticker (#396) 2023-02-02 15:53:45 +01:00
Alexandre Paillier
74f880dce9 Removes useless space at the end of tickers 2023-01-10 14:12:39 +01:00
tjulien-ledger
41c5d3e011 removing networks to reduce size (#394) 2023-01-10 14:10:08 +01:00
tjulien-ledger
6571550b46 adding many networks (#391) 2023-01-09 17:00:37 +01:00
Leandre
9e2b67552e Add KCC Chain with ChainID = 321 as ETH clones (#379)
* Add KCC Chain with ChainID = 321 as ETH clones

* Update network.c

* Update network.c

* Update network.c

* Update network.c

* Update network.c
2022-11-25 09:31:00 +01:00
Péter Garamvölgyi
685df6b89c add Scroll networks (#372) 2022-11-23 09:41:51 +01:00
Jorge Martins
a49752fe9b allzeroes const void* buf 2022-11-08 11:23:14 +01:00
Alexandre Paillier
c803322f3c Review fixes 2022-10-17 11:57:16 +02:00
Alexandre Paillier
2474bdb81a Merge remote-tracking branch 'origin/develop' into HEAD 2022-10-17 11:44:28 +02:00
Clement Bouvet
51e4ab2a6f move some stack utility functions to common 2022-10-14 11:02:11 +02:00
Clement Bouvet
2dd757786d commonise plugins 2022-10-14 10:40:00 +02:00
Alexandre Paillier
971a02dfcf Code space optimization (192 bytes) 2022-09-15 16:49:20 +02:00
Alexandre Paillier
edac57df06 Increased memory allocator pool to 8K 2022-09-14 17:27:33 +02:00
Alexandre Paillier
ab67ae1cb3 Merge remote-tracking branch 'origin/develop' into HEAD 2022-09-14 17:27:25 +02:00
tjulien-ledger
a0d16023d5 Light integration (#334)
* adding XDC

* adding meter

* adding multivac

* adding id4good

* adding tecracoin

* minor typo

* adding apothem

* adding apothem 2

* apothem and tecratestnet on network.c

* fix nettwork.c

* 1st additions

* last additions

* adding fix from develop

* update apothem coin name

* removing id4good

* adding Cronos
2022-09-14 10:50:57 +02:00
Jorge Martins
b2ec3eff0a Security review (#331)
* Fix some issues

* add typed_data.c changes

* Make attribution after the check
2022-08-08 13:53:41 +02:00
Alexandre Paillier
de9e895ad9 EIP-712 code linting 2022-08-05 18:15:59 +02:00
Alexandre Paillier
a375e5b07d Moved the memory allocator and its util functions out of the EIP712 subdirectory and gave it its own compilation flag
Also removed dead code
2022-08-05 18:15:51 +02:00
Alexandre Paillier
bbcfe5abc3 Added a util function to convert from byte buffer to uint128_t 2022-08-05 18:15:38 +02:00
Alexandre Paillier
10fbb8d5bc Unify all the hex digits used in the app 2022-08-05 18:15:37 +02:00
Alexandre Paillier
f99804de08 Added a signed int256 formatting function 2022-08-05 18:15:37 +02:00
Alexandre Paillier
59d8ace99e Split the uint256 lib into multiple more meaningful files 2022-08-05 18:15:36 +02:00
Alexandre Paillier
50225d72d0 Some const correctness in the uint256 functions 2022-08-05 18:15:36 +02:00
Alexandre Paillier
f458fcd6ac Better naming for uint256 type functions 2022-08-05 18:15:36 +02:00
Alexandre Paillier
2fa6379470 Now only compiles full EIP-712 support for capable devices 2022-08-05 17:52:47 +02:00
Jorge Martins
2811917658 Mark pointer to databuffer/workbuffer as const 2022-07-15 12:33:19 +02:00
Jorge Martins
e0218520d8 Fix multiple vulnerabilities 2022-07-08 11:12:50 +02:00
Benjyskan
3c0ae7e737 add missing variable in processTx's PRINTF (#279) 2022-06-23 11:37:25 +02:00
Alexandre Paillier
b483804ff4 adding astar&shiden 2022-06-15 13:35:46 +02:00
tjulien-ledger
c74ca70a1f adding cube icons + network.c fix 2022-06-15 13:35:46 +02:00
Alexandre Paillier
785cfdc2ea cube 2022-06-15 13:35:44 +02:00
Alexandre Paillier
fb28efc012 Removed the helper getNftContractAddress helper function and some NULL checks
Useless since we don't allow NFT signing without the NFT metadata anymore
2022-03-09 16:40:45 +01:00
Alexandre Paillier
c548aba364 Unify the include guards accross all header files 2022-03-09 11:52:03 +01:00
Jean-Baptiste Bédrune
ed4e10628a Change type of output length in amountToString
Defining out_buffer_size as uint8_t triggers warnings with static
analysers when sizeof() is used on the output buffer.

There is no reason to use uint8_t here.
2022-02-21 23:56:08 +01:00