Integration test

Preparation

  1. Install a web wallet we support, like Pontem,Martian,Petra,Fewcha,Okx.

  2. Switch to Aptos Testnet

  3. Open our Partner Network Website: https://partner.m-safe.io (Connected to Testnet)

  4. Create a msafe wallet according to our User Guide.

Test steps

1. Integrate msafe into your application according to the document.

2. Start your dapp website in local, record the url. For example: http://localhost:3000/dapp

3. Get your msafe dapp url:

  • via javacript: `https://partner.m-safe.io/apps/0?url=http://localhost:3000/dapp`

  • via SDK: MSafeWallet.getAppUrl('https://partner.m-safe.io');

For example, if you want to load application URL at https://localhost:3000/dapp, the URL for MSafe is https://partner.m-safe.io/apps/0?url=http%3A%2F%2Flocalhost%3A3000%2Fdapp

4. Open the url from step3 in your chrome browser.

The screenshot below shows the interface of a demo dapp in https://github.com/Momentum-Safe/iframe-demo

5. Test connect to msafe wallet and send transactions.

Example Github

Here is an example Github repo to interact with MSafe DAPP Store.

Last updated