Commit Graph

141 Commits

Author SHA1 Message Date
Charles-Edouard de la Vergne
1a8bb93180 Remove old funtion in deprecated 2024-03-27 17:20:58 +01:00
Charles-Edouard de la Vergne
f5ea9c51c2 Fix various Linter issues and mispelling 2024-03-27 14:43:15 +01:00
Charles-Edouard de la Vergne
36ae183a1c Fix deprecated warnings 2024-03-27 14:43:15 +01:00
Francois Beutin
b3b9046a63 Update plugin sdk build script to only copy files instead of cherry-picking functions 2024-02-02 11:23:32 +01:00
Francois Beutin
5bf5023e35 Merge nft and tokens into a single asset header 2024-02-02 11:23:31 +01:00
Francois Beutin
e64a04da51 Remove unused big uint utilities from plugin sdk 2024-02-02 11:23:31 +01:00
Francois Beutin
3bcf12ce1d Rename utils to common_utils 2024-02-02 11:23:30 +01:00
Francois Beutin
39b02b82e5 Move functions and API needed by the plugins to the src_common directory 2024-02-02 11:23:30 +01:00
Francois Beutin
5e48f0cf5d Decommision src_common prior to reintroducing it for files common between eth and plugins 2024-02-02 11:23:24 +01:00
Victor Forgeoux
9475112d45 Merge network addition PRs (#516)
* add Bitcichain network (44'/60')

* Rename Astar EVM (custom)

* Remove unnecessary nano icons for Bitcichain

* Add Core network (44'/60')

* Udpate Scroll network ticker and add Stax icons (44'/60')

* Add Bitrock network (44'/60')

* Add Numbers network (44'/60')

* Add Linea network (44'/60')

* rename Bitrock stax glyph file

* resolves too many colors error on Bitrock Stax glyph
2024-01-05 11:52:00 +01:00
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