Sphinx Testnet Guide

Warning!!!
Cryptocurrencies are volatile assets and involve many risks, such as exploitation of smart contracts, malicious management of the project. My purpose in writing this article is to explain how the project works, not to give investment advice.

Cross-chain orderbook DEX project @sphinxdex ,
They came 1st in the Hackathon organized by Encode and Starkware.

On Testnet on StarkNet. The main purpose of the project is to enable you to transact directly on StarkNet with your metamask wallet. In the first place, it will be able to work on Ethereum, Polygon and Arbitrum.

We can do our transactions on metamask or StarkNet Testnet 2 network.
The application interface is slightly different, we will send all orders and transactions by writing.

We will complete the testnet in 5 steps:

1- StarkNet Testnet 2<>ETH Goerli bridge
2- Connecting to the App and Faucet
3- Deposit
4- Market and Limit Order
5- Withdraw

First of all, we need to have ETH on the ETH Goerli network for transaction fees.
Link: https://faucetlink.to/goerli

1- StarkNet Testnet 2<>ETH Goerli bridge

https://goerli.etherscan.io/address/0xaea4513378eb6023cf9ce730a26255d0e3f075b9#writeProxyContract#F3…

Connect to the contract ETH network and bridge TestETH to your StarkNet Testnet 2 wallet.

Required Contracts

Goerli ETH
-USDC
0x41FE9AC7a76D7a20794551a3E8Ba445c3C635106
-WETH
0x0e9A9Ac3Aaf264Af4F6716C2FC982CF58F3E591D

StarkNet Testnet 2
-USDC
0x02bf326f9c2224ea7a206da512238b314ba07f8b2e4e59e101daa83b8db19018 -ETH 0x050fe7f38d5276a7a53f7d525f08bc93bd8c37c0db318fcb68f24e3d29283925

2- Connecting to the App and Faucet

I will explain all the operations through metamask. You can try with the same transactions directly on StarkNet by connecting your StarkNet Testnet 2 wallet.

We enter the https://sphnx.xyz web page and connect our metamask wallet from the bottom.

We get the necessary test tokens by typing “MINT ETH 0.95” and “MINT USDC 100” in the search button above. I wrote the contract addresses above, those who want to see it in their metamask wallet can add them.

3- Deposit

For ETH, we confirm by typing “DEPOSIT ETH 0.5”.
For USDC, we confirm by typing “DEPOSIT USDC 75”.
Wait a bit for it to count.

After waiting, you can see the available amounts in your account by typing “ACCOUNT”.

You can view the order book by typing “ORDERBOOK ETH USDC”.

4- Market and Limit Order

Limit Orders

For the limit sell order, we say “ASK ETH USDC 0.01 1550”, that is, sell 0.01 ETH at 1550 dollars.

For the limit buy order, we say “BID ETH USDC 0.01 1550”, that is, buy 0.01 ETH at $ 1550.

Market Orders

For buying buy ‘’BUY ETH USDC 0.01'’ ie 0.01 ETH at market price.
Sell ​​’’SELL ETH USDC 0.01'’ ie 0.01 ETH at market price to sell.

5- Withdraw

For ETH withdrawal: ‘’WITHDRAW ETH X’’
For USDC withdrawal: ‘’WITHDRAW USDC X’’

Confirmation processes can take a very long time as withdrawals are currently made through StarkNet’s own bridge.

You can enter the Discord channels for your feedback and follow the project.

Discord:https://discord.gg/p53zEyGSkK

List of all operations

--

--

Coingeener
Early Starkers - StarkNet Guides From Alphas

https://twitter.com/coingeener Sadece fikir vermek için araştırmaları kaleme alıyorum. Hiçbir yazım yatırım tavsiyesi içermemektedir. Lütfen dikkatli olun.