FAQs
Frequently Asked Questions
Last updated
Frequently Asked Questions
Last updated
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
:
Here is an example 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_hash
in the recent_deposit
response for all SOL deposits is emptyThis 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.
Users can migrate in two ways:
Via ft_withdraw
intent with the same params as in above ^
Because of the split of ETH-connector, aurora
contract now as a NEP-141 proxy to eth.bridge.near
. This leads to some changes:
Firstly, ALL new deposits will be as eth.bridge.near
, even if triggered from aurora
smart-contract. Even from inside of Aurora Mainnet (example )! ALL withdrawals of legacy aurora
will be received on Near as new eth.bridge.near
.
Secondly, the migration of already deposited Eth@Near (aurora
) can be done permissionlessly by withdrawing from intents.near
and depositing it back right away. Luckily, it's possible to do that in a single tx thanks to patch on eth-connector side.
Via ft_withdraw()
with following params:
The automatically detects legacy tokens on user's balance and prompts him to sign such migration intent.