Creating a Contract for the Smart Card