hunters_imx 0.0.1

https://github.com/immutable/imx-core-sdk for dart

IMX dart SDK

ImmutableX core SDK TypeScript https://github.com/immutable/imx-core-sdk

typeScript 로 제작된 SDK 를 dart 로 변경

Work Flow

User Registratoin

registration

generate random Stark Key ( imx-core-sdk 1.0.0 v ) & IMX registration

이 기능은 현재 imx-link-sdk 와 호환되지 않습니다.

registrationOldStarkKey

generate bip-32 Stark Key from L1 Account ( imx-core-sdk 0.7.0 v ) & IMX registration

Deposits Assets L1 -> L2

prepareDeposit

L1 ERC20 & ERC721 needs approve to IMX Core contract ( don't need ETH )

deposit ETH

check account regist to IMX Registration contract

call IMX Core contract registerAndDepositEth call IMX Core contract deposit

deposit ERC20 (FT)

check account regist to IMX Registration contract

call IMX Core contract registerAndDepositERC20 call IMX Core contract depositERC20

deposit NFT (ERC721)

check account regist to IMX Registration contract

call IMX Core contract registerAndDepositNFT call IMX Core contract depositNFT

Withdrawals Assets L2 -> L1

prepare Withdrawals

send signed data to IMX IMX rollup transaction to L1 IMX Core contract

completeWithdrawETH

check account regist to IMX Registration contract

call IMX Core contract registerAndWithdrawalERC20 call IMX Core contract depositERC20

completeWithdrawERC20

check account regist to IMX Registration contract

call IMX Core contract registerAndWithdrawalERC20 call IMX Core contract depositERC20

completeWithdrawERC721

check account regist to IMX Registration contract

completeWithdrawMintableNFT

call IMX Core contract regsiterAndWithdrawAndMint call IMX Core contract withdrawAndMint

completeWithdrawNFT

call IMX Core contract registerAndWithdrawNft call IMX Core contract withdrawNft

Transfer L2 Assets

transfer

send L2 Assets to other L2 account

burn

send L2 Assets to L2 zero account

Get MoonPay Url

buyCrypto

get buy-staging.moonpay.io

sellCrypto

get sell-staging.moonpay.io

View

View L2 Blanaces

View L2 NFT Metadata

View Orders