HackerSamuraiDAO / 2022-EVMOS-Momentum-Hackathon

2022 EVMOS Momentum Hackathon submission
2022-evmos-momentum-hackathon.vercel.app
1 stars 0 forks source link

PoC of IBC call from different chain to EVMOS #3

Closed taijusanagi closed 2 years ago

taijusanagi commented 2 years ago

This is fundamental in my app, so doing this PoC first.

taijusanagi commented 2 years ago

Getting faucet token in cosmos15jr8xdvt5u7ddj6xsjl0s2d6ta5n0lvyhllw9d for theta https://explorer.theta-testnet.polypore.xyz/transactions/FB9240C29BE3FAF9E3E4BB897C3B6DCF029D7E294C29AE0A4C785CF000B4000C

taijusanagi commented 2 years ago

done with the simple cosmos transfer https://github.com/HackerSamuraiDAO/2022-EVMOS-Momentum-Hackathon/blob/b83f1b5a06f4b20800c095b846cd5bfa5bb9a61a/packages/contracts/poc/cosmosjs/signer.ts

taijusanagi commented 2 years ago

Now trying to send token from cosmos to evmos in testnet.

taijusanagi commented 2 years ago

I think building a relayer is out of scope (even though there are many documents explaining this). I'll find the way using the testnet existing relayer.

taijusanagi commented 2 years ago

There is a relayer between cosmos and evmos, I'll try to use this.

https://testnet.mintscan.io/evmos-testnet/relayers

Screen Shot 2022-08-31 at 22 02 44
taijusanagi commented 2 years ago

Difficult to find how to call relayer, so try to use the local go relayer in quick time first. https://github.com/cosmos/relayer

taijusanagi commented 2 years ago

This is tutorial for running go-relayer https://tutorials.cosmos.network/academy/4-ibc/go-relayer.html

taijusanagi commented 2 years ago

Added evmos evm tx and detect in cosmos way

https://github.com/HackerSamuraiDAO/2022-EVMOS-Momentum-Hackathon/blob/bd40daadb0f6b653bbf1189dc45a5f687b379027/packages/contracts/poc/cosmosjs/signer.ts

taijusanagi commented 2 years ago

This repo looks nice reference to do cross-chain call https://github.com/HackerSamuraiDAO/ibc-ts-relayer-example

taijusanagi commented 2 years ago

I cannot make connection between theta and osmosis... https://github.com/confio/ts-relayer/issues/221

taijusanagi commented 2 years ago

I'm not building relayer, try to send call from cosmos hub to evmos

taijusanagi commented 2 years ago

I think this should be

taijusanagi commented 2 years ago

so change the way, we will use EVM -> EVMOS call by IBC