---
# System prepended metadata

title: 'Farcastle Onboarding: HATS Shared Accounts'
tags: [farcastle]

---

# Farcastle Onboarding: HATS Shared Accounts

Testing Shared Farcaster accounts using HATS.

[alpha app](https://shared-account-admin.vercel.app/)

Reqs
- Farcaster account must already exist
- Tree has to be on OP

**Output**

A hat tree that will look like this

x) tophat 
x.1) auto-admin (empty)
x.1.1) owner
x.1.1.1) caster

## Steps

1. Visit [alpha app](https://shared-account-admin.vercel.app/) to add existing farcaster account

3. Add caster addresses
    - the additional casters will wear hat x.1.1.1

3. Add owner addresses
    - the additional owners will wear hat x.1.1

4. Set recovery address in Warpcast
    - Go to your Warpcast app, into the Settings, under Advanced you can change recovery address
    - We want this to be an owner?

5. Convert farcatser account to a shared account
    - This step transfer access to the account to the role token, thereby granting casting rights to everyone holding it.

6. Share the Cast Frame link with wearers of caster hats
```
Wearers of the caster hat (and you as an owner) can now start casting on behalf of @brood. 

Copy the link to the Cast Frame and share with folks wearers of the Caster hat.
```

cast frame link
https://sharedaccount.hatsprotocol.xyz/claim/name/brood

brood shared account admin page
https://shared-account-admin.vercel.app/account/brood

Tree
https://app.hatsprotocol.xyz/trees/10/234


## Casting flow

Add Hats cast actions

![Screenshot from 2024-10-31 09-49-17](https://hackmd.io/_uploads/rkpZvm-Z1g.png)


## Adding casters

1. Mint hat to caster
https://app.hatsprotocol.xyz/trees/10/234?hatId=234.1.1.1
or
https://shared-account-admin.vercel.app/account/brood

2. Have them post the frame and claim 
https://sharedaccount.hatsprotocol.xyz/claim/name/brood


## Issues during setup
cast action not finding me due to error in delegator contract
![Screenshot from 2024-10-31 10-17-13](https://hackmd.io/_uploads/Hyio6mZWkx.png)

process to replace delegator contract
https://docs.google.com/document/d/1LGNhILwwHM-U_WcGua-jwb0gl4vHxLt43jpjcx_VVlk/edit?tab=t.0




## Farcastle implications

Possible set up
- dao owned account + hat tree
- account is set up as a moderator on the channel
- dao can then make proposals to add/remove caster hats
- COULD WE also let those hats wearers **moderate from** the shared account
    - maybe an action based in the same manner `cast from` and `reply from` work

## herocast

Don't use Add accounts or you will have to waste some Warps and get a duplicate account

![image](https://hackmd.io/_uploads/SkuULvHZke.png)

![image](https://hackmd.io/_uploads/rkVi8PBb1x.png)

![image](https://hackmd.io/_uploads/S17C8vr-ke.png)

---

Make sure you go to Shared Accounts

![image](https://hackmd.io/_uploads/rJP1vDBWJg.png)

![image](https://hackmd.io/_uploads/SkQGDvH-1e.png)

![image](https://hackmd.io/_uploads/S1Np_PBb1x.png)
