- enlistToFaction(connection, factionID, playerPublicKey, programId): Promise<web3.TransactionInstruction>
Parameters
- connection: Connection
- factionID: FactionType
- playerPublicKey: PublicKey
- programId: PublicKey
Returns Promise<web3.TransactionInstruction>
Create transaction instruction which can be used to enlist a player to a faction.