The Tradefederation and the treaty were so they could invade the Naboo system legally, Sidious got involved because
Spoiler:and he knew just what to do to get this brought up to the Senate and call for a vote of no confidance in Chancellor Valorum's rulings. Thus getting himself the Chancellor position and starting a chain of events that leads to him
Sidious is Palpatine, who is from Naboo
Spoiler:.
naming himself Emporer
This thread deals with Episode 1 mostly, so I'm moving it on over to the correct forum.
The Trade Federation was upset about taxation routes, so they wanted to blockade a system that was out of the way but well known as a protest. Sids gave then theplan to attack Naboo (convinient as he knows sp much about it being Palps & all). So basically the Nemoidans were greedy and looking for a way to make their protest known and got all the info they needed from Sids which worked perfectly with his long term plans...