created a transaction script for creation of an invite to group