The Pendulum prototype is meant to be run on a single node, which acts as the bridge between Stellar and the Pendulum network itself. The network is composed of that same node also.
Substrate already provides a lot of the mechanisms needed for a full working network with several nodes, validators, etc. So this proof of concept is only focused on the bridging.
To be able to test the node and the UI, you can use our deployed version:
Be aware that the website might take 20 seconds to load.
Note: pointing to the node address from the regular polkadot js explorer won't work, you need to use our explorer.
Follow the steps in the section Running the demo to test the Stellar Pendulum bridge and a smart contract AMM yourself.
Alternatively, we show you how you can deploy your own nodes and explorer to tweak them as you want ;)
/tab
This description applies to both
We recommend that you use Solar to interact with the Stellar side of your accounts
Currently you can only bridge assets that are supported by our escrow account (more precisely, the escrow account requires trustlines for assets that are to be bridged between Stellar and Pendulum). Our escrow account has some trustlines already set for testing. You can check them on https://stellar.expert/explorer/testnet/account/GALXBW3TNM7QGHTSQENJA2YJGGHLO3TP7Y7RLKWPZIY4CUHNJ3TDMFON.
The ones that we will use in this documentation are:
USDC
, issuer: GAKNDFRRWA3RPWNLTI3G4EBSD3RGNZZOY5WKWYMQ6CQTG3KIEKPYWAYC
EUR
, issuer: GAKNDFRRWA3RPWNLTI3G4EBSD3RGNZZOY5WKWYMQ6CQTG3KIEKPYWAYC
You need to have an existing and funded Stellar testnet account. You can easily create an account in Solar and fund it with the testnet friendbot.
Set the trustlines for the assets you want to bridge for your Stellar account (step by step guide on how to set trustlines for custom assets in Solar).
Fund your account with those assets. For this purpose use the asset issuer as a faucet. Here we describe how to mint tokens using Stellar Laboratory.
Build Transaction
and paste the issuer of the above two assets as a Source Account
. Then click on the button Fetch next sequence number for account starting with ...
Operation Type
choose Payment
. As Destination
enter the account Id of your Stellar account. Then select Alphanumeric 4
in the field Asset
and enter the Asset Code
(e.g., USDC
) and Issuer Account ID
(GAKNDFRRWA3RPWNLTI3G4EBSD3RGNZZOY5WKWYMQ6CQTG3KIEKPYWAYC
) of either one of the assets you want to bridge. Enter any amount, e.g., 1000
. Optionally click on "+ Add Operation" and add another payment operation for another asset.Sign in Transaction Signer
, which leads to another page. In the field Add Signer
add the secret key of the asset issuer: SA4OOLVVZV2W7XAKFXUEKLMQ6Y2W5JBENHO5LP6W6BCPBU3WUZ5EBT7K
. Afterwards click on Submit in Transaction Submitter
.Submit Transaction
. After a few seconds a green message "Transaction submitted!" will be displayed.Note: only those assets listed above are currently supported by the escrow account and can be bridged to Pendulum prototype.