See with-eip-1193-provider for an example.