Join to Drive
This guide will help you join to existing drive.
Requirements
- IDE or text editor
- ProximaX Catapult SDK
- Have one replicator
- Have one active drive
Example
A user gets invite and wants to join a drive.
joinTx, _ := client.NewJoinToDriveTransaction(
sdk.NewDeadline(time.Hour),
driveAccount.PublicAccount,
)
joinTx.ToAggregate(replicator.PublicAccount)