litentry / litentry-parachain

The Litentry parachain
https://docs.litentry.com
GNU General Public License v3.0
61 stars 20 forks source link

Explore the intergration potential of evm sidechain #996

Open Kailai-Wang opened 1 year ago

Kailai-Wang commented 1 year ago

This is a research topic about connecting the evm sidechain directly with smart contract.

See the related notion doc

Kailai-Wang commented 1 year ago

Maybe related upstream: https://github.com/integritee-network/worker/issues/958

Kailai-Wang commented 1 year ago

This is a research topic on TEE side, not necessarily belong to @wangminqi

wangminqi commented 1 year ago

https://github.com/rust-blockchain/ethereum/blob/master/Cargo.toml This is for in case we need to develop web3js client/Interface in no_std Rust.

wangminqi commented 1 year ago

https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/ https://docs.infura.io/infura/networks/ethereum/json-rpc-methods/eth_sendrawtransaction

https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md#specification-1 https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md

Since we know https method of TEE to outside. Just need to construct the no_std Rust Package for sending raw transaction call to Ethereum node with RLP data in https method.

wangminqi commented 1 year ago

https://github.com/RustCrypto/elliptic-curves/blob/master/k256/Cargo.toml https://github.com/RustCrypto/elliptic-curves.git https://ethereum.stackexchange.com/questions/123750/how-to-implement-eip-2930-access-list

Kailai-Wang commented 1 year ago

something to watch: https://github.com/integritee-network/worker/issues/1177

wangminqi commented 1 year ago

https://github.com/litentry/ethereum-tee We have the package now.

github-actions[bot] commented 1 year ago

:exclamation: This issue is stale because it has been open for 60 days with no activity. Remove Stale label or update it, otherwise this issue will be closed in 7 days. @litentry/parachain

wangminqi commented 1 year ago

For your reference @BillyWooo https://github.com/litentry/litentry-parachain/compare/996-tee-ethereum