Integrating Playtron Wallet with Dapp-Kit on Website

Original Thread: Discord
Thread ID: ch_68f9304e
Messages Count: 9
Copied on: 2025-07-28T16:53:44.753Z


Message 1

Author: user_2faf8a7d
Time: 2025-07-25T14:54:17.133Z
How can we add playtron to our wallet-connect on our website?
Do you have docs on that?
We use dapp-kit for our wallet connect.


Message 2

Author: user_a06a62d1
Time: 2025-07-25T16:38:21.003Z
Hey, I’m trekking with the team right now. I’ll get back to you as soon as I know.


Message 3

Author: user_a06a62d1
Time: 2025-07-25T16:49:26.394Z
you can use the Enoki-connect package: Enoki Connect

The public slug for playtron is: `playtron`


Message 4

Author: user_2faf8a7d
Time: 2025-07-25T17:41:00.847Z
ok thanks, let me try :slightly_smiling_face:


Message 5

Author: user_a06a62d1
Time: 2025-07-25T18:28:00.545Z
Feel free to ping me if you can’t get it to work


Message 6

Author: user_2faf8a7d
Time: 2025-07-25T21:32:27.300Z
But there is no easy snap in to dapp-kit? Similar to stashed?


Message 7

Author: user_a06a62d1
Time: 2025-07-25T21:50:33.911Z
Once you add something like this:

```
// in an entry file of your dApp eg. main.ts
import { registerEnokiConnectWallets } from ‘@mysten/enoki-connect’;

registerEnokiConnectWallets({
publicAppSlugs: [‘Replace_With_Source_Public_App_Slug’],
dappName: ‘Other DApp name’,
});
```

the app will be available in the dappkit wallet select modal


Message 8

Author: user_2faf8a7d
Time: 2025-07-26T21:56:12.172Z
works on pawtato.app :slightly_smiling_face: thank you for your help!

we just seeing a few Failed to fetch (api.enoki.mystenlabs.com) errors, but we are not sure yet what caused it.
we also need to add a try catch around that register, otherwise this would crash the whole app as unhandled rejection.


Message 9

Author: user_a06a62d1
Time: 2025-07-28T15:50:24.346Z
Woohoo!