| description |
|---|
Frequently Asked Questions |
There's no testnet deployment and no plans for it. We recommend testing on NEAR mainnet with using separate dev/test NEAR accounts.
Only ft_transfer_call can be used to deposit NEP-141 tokens from Near to intents.near :\
<TOKEN_ACCOUNT_ID>::ft_transfer_call({
"receiver_id": "intents.near",
"amount": "1234",
"msg": "{\"receiver_id\": \"<ACCOUNT_ID>\"}"
})
Here is an example receipt for that.
Parameter msg can also be empty, so that funds will be deposited to sender_id (i.e. caller of ft_transfer_call). Here is an example of such tx
This information is not available for Solana because the mechanism of deposit tracking works a bit differently there.
This is a very small amount that is considered to be "dust" and there is a special business logic to process such small amount.
The deposit process begins once the transfer transaction on the foreign network has been completed. When the balance of the user's unique deposit address has become positive our indexer generates a deposit event and assigns it a PENDING status.
The next step is collecting the current tokens in storage. The result of this process will be either a COMPLETED or FAILED status. Deposits with a FAILED status are currently handled manually and eventually updated to the COMPLETED status.
On EVM networks, deposits can bypass the PENDING status due to the faster processing and transfer completion times.
The data structure for the PENDING and FAILED statuses is identical to that of the COMPLETED status.
Regarding BTC deposits: If you want to make a deposit to an account that hasn’t yet been connected to the application - this is possible but requires extreme caution. You can request a deposit address by calling the bridge API (deposit_address) and specifying the account_id parameter. The account_id can be a NEAR account, an EVM address, or a SOL address to which you have access.
It is recommended starting with a small amount for experimentation. After the deposit is completed, you can connect wallet and check the tokens.
Because of the split of ETH-connector, auroracontract now acts as a NEP-141 proxy to eth.bridge.near. This leads to some changes:
- Firstly, ALL new deposits will be treated as
eth.bridge.near, even if triggered fromaurorasmart-contract. Even from inside of Aurora Mainnet (example tx)! ALL withdrawals of legacyaurorawill be received on Near as neweth.bridge.near. - Secondly, the migration of already deposited Eth@Near (
aurora) can be done permissionlessly by withdrawing fromintents.nearand depositing it back right away. Luckily, it's possible to do that in a single tx thanks to this patch on eth-connector side.
Users can migrate in two ways:
-
Via
ft_withdraw()tx with following params:{ "token": "aurora", // legacy token "receiver_id": "intents.near", // deposit back "amount": "1234", "memo": "Migrate ETH: aurora -> eth.bride.near", "msg": "<USER_ACCOUNT_ID>", // recipient inside intents.near for eth.bridge.near tokens } -
Via
ft_withdrawintent with the same params as in above ^
The front-end automatically detects legacy tokens on user's balance and prompts him to sign such migration intent.