The line—"Wert thou as far as that vast shore washed with the farthest sea, / Thou wouldst adventure for such merchandise"—comes from The Merchant of Venice (Act 1, Scene 1). Antonio speaks to Bassanio, who has just described the wealthy heiress Portia as a prize worth any risk.
"That vast shore washed with the farthest sea" evokes the edge of the known world—a distant, perilous coast. Antonio asks rhetorically: even if Portia were located at the most remote, dangerous corner of the globe, would Bassanio still pursue her? The answer, implied by Bassanio's devotion, is yes.
The exchange establishes Bassanio's romantic quest and Antonio's willingness to finance it—setting in motion the bond with Shylock that drives the play's central conflict. Antonio's maritime imagery also foreshadows the risk to his own argosies (merchant ships) at sea.
Shakespeare uses the metaphor to quantify love's reach: no distance too great, no danger too severe, for "such merchandise"—Portia herself, framed here as the ultimate treasure.