There are a few configuration options you can use to customize your Linked Account in the Lamden Wallet.
All image paths are relative to your dApp’s hostname.detail.logo = ‘images/logo.png’deatil.background = ‘images/background.png’
Charms can be added to your Linked Account details section of the Lamden Wallet and provide state information about your dApps’s contract. An example would a custom token value, the current player’s turn in a game, etc. There is no limit on the amount of charms you can add. Define the charms and send them along with your initial connection request.
Each charm can have an indivudial icon. All image paths are relative to your dApp’s hostname.
Key Variables <wallet vk> – The Lamden Wallet will substitute the public key of the keypair created for your dApp
key = "players:<wallet vk>"
detail.charms = [
//This creates a charm that always shows the wallets balance of Stu Bucks
//The label displayed on the charm
name: "Stu Bucks"
//The state variable in yoru dApp's contract
//described in section above this
key: "<wallet vk>",
//What format to display the returned value (number will also display as float)
//Icon path is relative to your dDapp's hostname
//This iconPath will become http://www.mydapp.com/images/token.png
//This creates a charm that always shows the current player's turn in a game
name: "Player Turn"
Telegram: t.me/lamdenchatDiscord: discord.gg/xjBgcAAUpSReddit: reddit.com/r/lamden